Skip to content

Commit

Permalink
Merge branch 'maint-17' into maint
Browse files Browse the repository at this point in the history
Conflicts:
	OTP_VERSION
  • Loading branch information
Marcus Arendt committed Nov 5, 2014
2 parents 7513bb7 + 9417f04 commit 682a608
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 6 deletions.
25 changes: 25 additions & 0 deletions erts/doc/src/notes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,31 @@
</header>
<p>This document describes the changes made to the ERTS application.</p>

<section><title>Erts 6.2.1</title>

<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Fix bug when an migrated empty memory carrier is reused
just before it should be destroyed by the thread that
created it.</p>
<p>
Own Id: OTP-12249</p>
</item>
<item>
<p>
Repair run_erl terminal window size adjustment sent from
to_erl. This was broken in OTP 17.0 which could lead to
strange cursor behaviour in the to_erl shell.</p>
<p>
Own Id: OTP-12275 Aux Id: seq12739 </p>
</item>
</list>
</section>

</section>

<section><title>Erts 6.2</title>

<section><title>Fixed Bugs and Malfunctions</title>
Expand Down
8 changes: 6 additions & 2 deletions erts/etc/common/run_erl_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
# include <syslog.h>
#endif

#ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif

#ifdef __OSE__
# include "ramlog.h"
#endif
Expand Down Expand Up @@ -637,7 +641,7 @@ int erts_run_erl_open_fifo(char *pipename,char *w_pipename,char *r_pipename) {
/* Extract any control sequences that are ment only for run_erl
* and should not be forwarded to the pty.
*/
int erts_run_erl_extract_ctrl_seq(char* buf, int len)
int erts_run_erl_extract_ctrl_seq(char* buf, int len, int mfd)
{
static const char prefix[] = "\033_";
static const char suffix[] = "\033\\";
Expand All @@ -662,7 +666,7 @@ int erts_run_erl_extract_ctrl_seq(char* buf, int len)
struct winsize ws;
ws.ws_col = col;
ws.ws_row = row;
if (ioctl(MFD, TIOCSWINSZ, &ws) < 0) {
if (ioctl(mfd, TIOCSWINSZ, &ws) < 0) {
ERRNO_ERR0(LOG_ERR,"Failed to set window size");
}
#endif
Expand Down
2 changes: 1 addition & 1 deletion erts/etc/common/run_erl_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void erts_run_erl_log_error(int priority, int line, const char *format,...);

int erts_run_erl_open_fifo(char *pipename,char *w_pipename,char *r_pipename);
int erts_run_erl_log_alive_minutes(void);
int erts_run_erl_extract_ctrl_seq(char* buf, int len);
int erts_run_erl_extract_ctrl_seq(char* buf, int len, int mfd);

/* File operations */
ssize_t sf_read(int fd, void *buffer, size_t len);
Expand Down
2 changes: 1 addition & 1 deletion erts/etc/ose/run_erl.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ int pass_on(ProgramState *s) {
#ifdef DEBUG
erts_run_erl_log_status("Pty master write; ");
#endif
len = erts_run_erl_extract_ctrl_seq(buffer,len);
len = erts_run_erl_extract_ctrl_seq(buffer,len, s->ofd);

if (len > 0) {
int wlen = erts_run_erl_write_all(s->ofd, buffer, len);
Expand Down
2 changes: 1 addition & 1 deletion erts/etc/unix/run_erl.c
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ static void pass_on(pid_t childpid)
#ifdef DEBUG
erts_run_erl_log_status("Pty master write; ");
#endif
len = erts_run_erl_extract_ctrl_seq(buf, len);
len = erts_run_erl_extract_ctrl_seq(buf, len, mfd);

if(len==1 && buf[0] == '\003') {
kill(childpid,SIGINT);
Expand Down
2 changes: 1 addition & 1 deletion erts/vsn.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# %CopyrightEnd%
#

VSN = 6.2
VSN = 6.2.1

# Port number 4365 in 4.2
# Port number 4366 in 4.3
Expand Down
1 change: 1 addition & 0 deletions otp_versions.table
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
OTP-17.3.4 : erts-6.2.1 # asn1-3.0.2 common_test-1.8.2 compiler-5.0.2 cosEvent-2.1.15 cosEventDomain-1.1.14 cosFileTransfer-1.1.16 cosNotification-1.1.21 cosProperty-1.1.17 cosTime-1.1.14 cosTransactions-1.2.14 crypto-3.4.1 debugger-4.0.1 dialyzer-2.7.2 diameter-1.7.1 edoc-0.7.15 eldap-1.0.4 erl_docgen-0.3.6 erl_interface-3.7.19 et-1.5 eunit-2.2.8 gs-1.5.16 hipe-3.11.1 ic-4.3.6 inets-5.10.3 jinterface-1.5.11 kernel-3.0.3 megaco-3.17.2 mnesia-4.12.3 observer-2.0.2 odbc-2.10.21 orber-3.7.1 os_mon-2.3 ose-1.0.2 otp_mibs-1.0.9 parsetools-2.0.11 percept-0.8.9 public_key-0.22.1 reltool-0.6.6 runtime_tools-1.8.14 sasl-2.4.1 snmp-5.1 ssh-3.0.8 ssl-5.3.7 stdlib-2.2 syntax_tools-1.6.16 test_server-3.7.1 tools-2.7 typer-0.9.8 webtool-0.8.10 wx-1.3.1 xmerl-1.3.7 :
OTP-17.3.3 : ssh-3.0.8 # asn1-3.0.2 common_test-1.8.2 compiler-5.0.2 cosEvent-2.1.15 cosEventDomain-1.1.14 cosFileTransfer-1.1.16 cosNotification-1.1.21 cosProperty-1.1.17 cosTime-1.1.14 cosTransactions-1.2.14 crypto-3.4.1 debugger-4.0.1 dialyzer-2.7.2 diameter-1.7.1 edoc-0.7.15 eldap-1.0.4 erl_docgen-0.3.6 erl_interface-3.7.19 erts-6.2 et-1.5 eunit-2.2.8 gs-1.5.16 hipe-3.11.1 ic-4.3.6 inets-5.10.3 jinterface-1.5.11 kernel-3.0.3 megaco-3.17.2 mnesia-4.12.3 observer-2.0.2 odbc-2.10.21 orber-3.7.1 os_mon-2.3 ose-1.0.2 otp_mibs-1.0.9 parsetools-2.0.11 percept-0.8.9 public_key-0.22.1 reltool-0.6.6 runtime_tools-1.8.14 sasl-2.4.1 snmp-5.1 ssl-5.3.7 stdlib-2.2 syntax_tools-1.6.16 test_server-3.7.1 tools-2.7 typer-0.9.8 webtool-0.8.10 wx-1.3.1 xmerl-1.3.7 :
OTP-17.3.2 : ssh-3.0.7 ssl-5.3.7 # asn1-3.0.2 common_test-1.8.2 compiler-5.0.2 cosEvent-2.1.15 cosEventDomain-1.1.14 cosFileTransfer-1.1.16 cosNotification-1.1.21 cosProperty-1.1.17 cosTime-1.1.14 cosTransactions-1.2.14 crypto-3.4.1 debugger-4.0.1 dialyzer-2.7.2 diameter-1.7.1 edoc-0.7.15 eldap-1.0.4 erl_docgen-0.3.6 erl_interface-3.7.19 erts-6.2 et-1.5 eunit-2.2.8 gs-1.5.16 hipe-3.11.1 ic-4.3.6 inets-5.10.3 jinterface-1.5.11 kernel-3.0.3 megaco-3.17.2 mnesia-4.12.3 observer-2.0.2 odbc-2.10.21 orber-3.7.1 os_mon-2.3 ose-1.0.2 otp_mibs-1.0.9 parsetools-2.0.11 percept-0.8.9 public_key-0.22.1 reltool-0.6.6 runtime_tools-1.8.14 sasl-2.4.1 snmp-5.1 stdlib-2.2 syntax_tools-1.6.16 test_server-3.7.1 tools-2.7 typer-0.9.8 webtool-0.8.10 wx-1.3.1 xmerl-1.3.7 :
OTP-17.3.1 : eldap-1.0.4 erl_interface-3.7.19 jinterface-1.5.11 orber-3.7.1 ose-1.0.2 ssh-3.0.6 # asn1-3.0.2 common_test-1.8.2 compiler-5.0.2 cosEvent-2.1.15 cosEventDomain-1.1.14 cosFileTransfer-1.1.16 cosNotification-1.1.21 cosProperty-1.1.17 cosTime-1.1.14 cosTransactions-1.2.14 crypto-3.4.1 debugger-4.0.1 dialyzer-2.7.2 diameter-1.7.1 edoc-0.7.15 erl_docgen-0.3.6 erts-6.2 et-1.5 eunit-2.2.8 gs-1.5.16 hipe-3.11.1 ic-4.3.6 inets-5.10.3 kernel-3.0.3 megaco-3.17.2 mnesia-4.12.3 observer-2.0.2 odbc-2.10.21 os_mon-2.3 otp_mibs-1.0.9 parsetools-2.0.11 percept-0.8.9 public_key-0.22.1 reltool-0.6.6 runtime_tools-1.8.14 sasl-2.4.1 snmp-5.1 ssl-5.3.6 stdlib-2.2 syntax_tools-1.6.16 test_server-3.7.1 tools-2.7 typer-0.9.8 webtool-0.8.10 wx-1.3.1 xmerl-1.3.7 :
Expand Down

0 comments on commit 682a608

Please sign in to comment.