Expect

Check-in [57500f9a63]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment: * pty_unicos.c (pty_stty): Fixed missing double-quotes for sprint formatting strings. Thanks to <[email protected]> for the report, i.e. [Expect SF Bug 2809496].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 57500f9a63a839448938f382c53c401a98bac3b9
User & Date: andreas_kupries 2009-06-22 16:32:07
Context
2009-07-14
18:21
* exp_clib.c (TclRegComp): Fixed memory leak reported by <[email protected]> in [Expect SF Bug 2814263]. check-in: a6f01a3232 user: andreas_kupries tags: trunk
2009-06-22
16:32
* pty_unicos.c (pty_stty): Fixed missing double-quotes for sprint formatting strings. Thanks to <[email protected]> for the report, i.e. [Expect SF Bug 2809496]. check-in: 57500f9a63 user: andreas_kupries tags: trunk
2009-06-18
16:07
* exp_command.c (Exp_LogFileObjCmd): Fix argument parsing logic error in the log_file command breaking the use of options -open and -leaveopen. Applied patch supplied by Andy Belsey <[email protected]>. With thanks for both the analysis of the problem and the patch. * configure.in: Bumped version to 5.44.1.14. * configure: Regen'd, autoconf 2.59. check-in: 416aa515e9 user: andreas_kupries tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.







1
2
3
4
5
6
7





2009-06-18  Andreas Kupries  <[email protected]>

	* exp_command.c (Exp_LogFileObjCmd): Fix argument parsing logic
	  error in the log_file command breaking the use of options -open
	  and -leaveopen. Applied patch supplied by Andy Belsey
	  <[email protected]>. With thanks for both the analysis of
	  the problem and the patch.
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
2009-06-22  Andreas Kupries  <[email protected]>

	* pty_unicos.c (pty_stty): Fixed missing double-quotes for sprint
	  formatting strings. Thanks to <[email protected]>
	  for the report, i.e. [Expect SF Bug 2809496].

2009-06-18  Andreas Kupries  <[email protected]>

	* exp_command.c (Exp_LogFileObjCmd): Fix argument parsing logic
	  error in the log_file command breaking the use of options -open
	  and -leaveopen. Applied patch supplied by Andy Belsey
	  <[email protected]>. With thanks for both the analysis of
	  the problem and the patch.

Changes to pty_unicos.c.

85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
char *name;		/* name of pty */
{
#define MAX_ARGLIST 10240
	char buf[MAX_ARGLIST];	/* overkill is easier */
	RETSIGTYPE (*old)();	/* save old sigalarm handler */

#ifdef STTY_READS_STDOUT
	sprintf(buf,%s %s > %s",STTY_BIN,s,name);
#else
	sprintf(buf,%s %s < %s",STTY_BIN,s,name);
#endif
	old = signal(SIGCHLD, SIG_DFL);
	system(buf);
	signal(SIGCHLD, old);	/* restore signal handler */
}

int exp_dev_tty;	/* file descriptor to /dev/tty or -1 if none */






|

|







85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
char *name;		/* name of pty */
{
#define MAX_ARGLIST 10240
	char buf[MAX_ARGLIST];	/* overkill is easier */
	RETSIGTYPE (*old)();	/* save old sigalarm handler */

#ifdef STTY_READS_STDOUT
	sprintf(buf,"%s %s > %s",STTY_BIN,s,name);
#else
	sprintf(buf,"%s %s < %s",STTY_BIN,s,name);
#endif
	old = signal(SIGCHLD, SIG_DFL);
	system(buf);
	signal(SIGCHLD, old);	/* restore signal handler */
}

int exp_dev_tty;	/* file descriptor to /dev/tty or -1 if none */