Expect

Timeline
Login

Timeline

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

50 most recent check-ins

2020-05-31
14:16
errorfd file descriptors should be closed when forking, otherwize a fd leak occurs. This patch make use of F_DUPFD_CLOEXEC if available or fcntl setting FD_CLOEXEC flag if not. Patch by ClĂ©ment Chigot. Leaf check-in: f8e8464f14 user: pyssling tags: trunk
2020-05-21
16:55
Replace CONST84 with const. CONST84 is deprecated. Reported by multiple users including Peter da Silva. check-in: 4aa905d5e2 user: pyssling tags: trunk
16:43
Apply patch "patch-warnings" from Mikhail T. Fixes many compiler warnings. Also do some additional cleanup of pre-ansi C function definitions and ensure build on Linux still works. check-in: 35d0b2bdfe user: pyssling tags: trunk
2018-02-04
13:55
Add ChangeLog for 5.45.4 release check-in: 0a2dd35d85 user: pyssling tags: trunk, expect-5-45-4
10:45
Bump version to 5.45.4 for release. check-in: 1a99d091a8 user: pyssling tags: trunk
10:17
Fix interact bug - handle reads of 0 length on non-blocking channels by explicitly checking if the channel is non-blocking. Fix by Jack Bates. check-in: f201b879d2 user: pyssling tags: trunk
10:09
Fix eof bug introduced with previous bug fix - ensure that data received just before an eof is processed. Fix by Sergei Golovan. check-in: 7cdeb14945 user: pyssling tags: trunk
2014-05-01
19:22
* exp_main_sub.c: Updated EXP_VERSION to 5.45.3 * configure, configure.in: Updated expect to version 5.45.3 * expect.man [http://sourceforge.net/p/expect/bugs/86/]. Report and fix by Vitezlav Crhonek. * expect.c [http://sourceforge.net/p/expect/bugs/76/]. Report and fix by Mutsuhito Iikura. On finding a full buffer during matching the sliding window mechanism slides too far, truncating the whole buffer and preventing matches across the boundary. Fix is shortening the slide distance (slide only one 1/3). * expect.c: [http://sourceforge.net/p/expect/patches/18/]. Report and fix both by Nils Carlson <[email protected]>. Replaced a cc==0 check with proper Tcl_Eof() check. check-in: efa437fc3b user: andreas_kupries tags: trunk
2013-11-04
19:42
* tclconfig/tcl.m4: [http://sourceforge.net/p/expect/patches/17/] * configure: Extended Tcl header detection for OS X Mountain Lion. check-in: 51830026cb user: andreas_kupries tags: trunk
19:03
* exp_main_sub.c: Updated EXP_VERSION to 5.45.2 * configure, configure.in: Updated expect to version 5.45.2 * expect.c: [http://sourceforge.net/p/expect/patches/16/]. Report and fix both by Per Cederqvist. Replaced a memcpy with memmove as the latter properly handles overlapping memory, whereas the original code does not. check-in: c4d49ed962 user: andreas_kupries tags: trunk
2012-08-15
22:25
* exp_main_sub.c: Updated EXP_VERSION to 5.45.1 * configure, configure.in: Updated expect to version 5.45.1 * exp_chan.c: Applied patch sent in by Ogawa Hirofumi <[email protected]>. The patch fixes a problem when talking a tty where the writer has died. Some operating systems report the condition as EIO with nothing read, while this actually an EOF. Without the patch the returned data is incomplete due to the error reported immediately and dropping data in buffers. * exp_chan.c: [Bug 3526461]: Applied patch by Michael Cleverly <[email protected]> fixing a problem with the iteration over the expect channel list where the loop code may modify the list, breaking the iterator. * exp_chan.c: [Bug 3526707]: Applied patch by Michael Cleverly * exp_command.h: <[email protected]> fixing problem * expect.c: with an insufficient test for a lost channel in exp_background_channelhandler. check-in: bfc8076f3c user: andreas_kupries tags: trunk
2010-10-26
22:09
* expect.c: [Bug 3095935]: Convert #bytes information to #chars to prevent later code to fail when copying strings around and miscalculating how much to copy, for strings containing non-ASCII utf chars. check-in: f0fd8a8574 user: andreas_kupries tags: trunk, expect_5_45
2010-09-30
22:05
* example/autopasswd: Updated to use tclsh in PATH, and 'package * example/chess.exp: require Expect'. Obsoletes fixline1. * example/cryptdir: * example/decryptdir: * example/dislocate: * example/dvorak: * example/ftp-inband: * example/ftp-rfc: * example/gethostbyaddr: * example/kibitz: * example/lpunlock: * example/mkpasswd: * example/multixterm: * example/passmass: * example/read1char: * example/rftp: * example/rlogin-cwd: * example/robohunt: * example/rogue.exp: * example/telnet-cwd: * example/timed-read: * example/timed-run: * example/unbuffer: * example/virterm: * example/weather: * example/xkibitz: * example/xpstat: check-in: 5bb53d19d6 user: andreas_kupries tags: trunk
17:14
* Makefile.in: Continued work on the 'make dist' target (config.{sub,guess}) * install.sh: Removed unused file. * mkinstalldirs: Removed unused file. * tclconfig/README.txt: Removed unused file. * testsuite/config/: Removed contents of unused directory. * test/.Sanitize: Removed unused file. check-in: 021995d879 user: andreas_kupries tags: trunk
2010-09-17
16:49
remove html dist piece check-in: abb4b3ca87 user: hobbs tags: trunk
16:43
* Makefile.in: improved make dist target to include the necessary files, and remove old dist_orig. Enable Makefile regen target check-in: 49e58b2fc2 user: hobbs tags: trunk
2010-09-16
20:46
correct HP-UX LDFLAGS to -Wl,-E check-in: eceee38447 user: hobbs tags: trunk
20:35
* configure: regen with ac-2.59 * tclconfig/tcl.m4: update for correct LDFLAGS on HP-UX * Makefile.in (expect): use TEA LDFLAGS instead of tclConfig.sh to build expect executable check-in: 33b0e0d8e1 user: hobbs tags: trunk
2010-09-01
21:32
* Makefile.in: [Bug 865278] Semi-applied Don Porter's patch adding code which prevents the package from registering with Tcl interpreters which cannot load it, i.e. below the version it was compiled against. Semi because the pkgIndex.in in his patch is not used, the pkgIndex.tcl is generated by the Makefile(.in). * pkgIndex.in: Removed. File not used. check-in: 2e24ce9e6d user: andreas_kupries tags: trunk
2010-08-31
22:20
* Various cleanups, local patches of ActiveState. * exp_clib.c: Remove local copy of Tcl_ErrnoMsg(). * exp_inter.c: Hack access to TCL_REG_BOSONLY when not present, became private with Tcl 8.5 and higher. * expect.h: Remove the local fiddling with the memory allocation and panic macros. check-in: 2e3f7face1 user: andreas_kupries tags: trunk
18:30
* Dbg.c: [Bug 2972727]: Applied the parts of Larry Virden's patch which were still current. Most of it applied to the partially ansified sources we had in trunk for a time and where errors in that set of changes, thus out of date now. check-in: 4f80c3bb28 user: andreas_kupries tags: trunk
17:59
* example/unbuffer: [Bug 2949748]: Applied patch by Vitezslav Crhonek <[email protected]> to prevent unbuffer from eating the exit code of the command it ran (regular mode only, not -p). Slightly modified, I removed the superfluous 'eval' used to invoke 'wait', invoking it directly. check-in: b03f49b960 user: andreas_kupries tags: trunk
2010-08-27
22:24
* retoglob.c: Fail if the generated glob contains more than two asterisks. Fixes [Expect SF Bug 3010684] (cederqvist) check-in: 07340f8368 user: hobbs tags: trunk
22:01
* exp_main_sub.c: add return to silence compiler warning. Updated EXP_VERSION to 5.45.0 check-in: 3bd14501aa user: hobbs tags: trunk
21:51
* config.guess, config.sub, expect.m4 (removed): * configure, configure.in, tclconfig/tcl.m4: Update to TEA 3.9 * Makefile.in, aclocal.m4: Partial cleanup of the build system. * testsuite/Makefile.in: Remove unused EXP_ from configure.in * testsuite/aclocal.m4: and no longer use Tk. * testsuite/configure: Update testsuite bits to use TEA info. * testsuite/configure.in: Update expect to version 5.45 * Dbg.c: account for removal of tcldbgcf.h * DbgMkfl.in, Dbgconfig.in, Dbgconfigure, DbgpkgInd.in (removed): * tcldbgcf.h.in (removed): removed Dbg debugger subcomponent as it no longer built and debugger functionality is included in expect library and binary * pty_termios.c: add HAVE_STRING_H include string.h * exp_trap.c: add HAVE_STRING_H include string.h * expectk.man, exp_main_tk.c (removed): expectk no longer built. Use tclsh with package require Tk and Expect instead. * tests/all.tcl: add package require Expect * example/archie, example/autoexpect: minor code cleanup * example/tkpasswd, example/tknewsbiff, example/tkterm: use package require statements in lieu of expectk check-in: aa97023a94 user: hobbs tags: trunk
2010-07-02
18:10
testing checkin on branch. Added "created branch" message to ChangeLog Leaf check-in: 565dfd07f4 user: eee tags: trunk, expect_6_branch
16:03
/tmp/f check-in: 659defba32 user: eee tags: expect_5_44_1_15, trunk
2010-07-01
00:53
Undoing all changes made by me during ANSIfication attempt, and reverting to tag 'expect_5_44_1_15'. Further ANSIfication will be pursued on a branch. check-in: 5bf9e2c817 user: eee tags: trunk
2010-06-09
22:11
Change to how <fcntl.h> is included. check-in: ce28cdd7c6 user: eee tags: trunk
22:08
ANSIfication changes. check-in: 306b3e4ca4 user: eee tags: trunk
2010-04-15
14:58
ansification check-in: e385cc794f user: eee tags: trunk
2010-03-25
16:47
ANSIfication check-in: 25ef313d5b user: eee tags: trunk
2010-03-24
19:28
more ANSIfications check-in: db3d6db8b3 user: eee tags: trunk
2010-03-19
16:53
More ANSIfication check-in: ae3b8cde02 user: eee tags: trunk
2010-03-17
23:47
ANSIfication changes check-in: e785babaae user: eee tags: trunk
2010-03-15
23:17
ANSIfication changes. check-in: 7261e72970 user: eee tags: trunk
2010-03-11
21:55
WHITESPACE CHANGES ONLY. I removed a number of form-feed characters that had been littered about the source code. check-in: 427e90617d user: eee tags: trunk
21:47
Converting function declarations and definitions from K&R style to ISO C style, along with occasional related comment changes. check-in: 85282a664c user: eee tags: trunk
19:52
Fixed typo check-in: 968e0015cb user: eee tags: trunk
2009-11-03
23:43
Added bug reference for the last commit. check-in: 39d185f825 user: andreas_kupries tags: trunk
23:30
See last ChangeLog entry: Ditto for the same type of bug when emitting error 'usage: -ignore unknown signal name'. The remainder of the exp_error calls are ok however. check-in: 406ad660a8 user: andreas_kupries tags: trunk
19:27
* exp_command.c (Exp_SpawnObjCmd): [Expect SF Bug 2891422]. Fixed error message when the command to spawn could not be executed. Tried to use a Tcl_Obj* as argument for a %s. Replaced with the correct char* variable. Thanks to Elchonon Edelson <[email protected]> for the report. * configure.in: Bumped version to 5.44.1.15. * configure: Regen'd, autoconf 2.59. check-in: 7879625236 user: andreas_kupries tags: trunk
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
2009-05-27
16:52
* exp_tty.c (Exp_SttyCmd, Exp_SystemCmd): Applied patch by Reinhard Max ([email protected]) fixing buffer-overflows in the 'stty' command due to an off-by-one error in the buffer size. See the bugs https://bugzilla.novell.com/show_bug.cgi?id=506873 and https://bugzilla.novell.com/show_bug.cgi?id=501291 * configure.in: Bumped version to 5.44.1.13. * configure: Regen'd, autoconf 2.59. check-in: 20c9e7fc08 user: andreas_kupries tags: trunk
2009-05-06
19:42
* retoglob.c: Accepted the patch by Mike Cumings <[email protected]> fixing [Expect SF Bug 13179]. The updated code checks a (?...) sequence that it contains only ARE options before processing it as such. This prevents the misinterpretation of non-capturing paren groups as ARe options with subsequent segmentation fault. * configure.in: Bumped version to 5.44.1.12. * configure: Regen'd, autoconf 2.59. check-in: 07c021bf15 user: andreas_kupries tags: trunk
2008-10-03
17:52
More fixes in that area. Use second index for destination array, avoid complex index calculations to derive from index in objv. check-in: 97a0cd25df user: andreas_kupries tags: trunk
17:47
Fixed indexing error left over from command correction. Was still using overlay arguments for the execvp'd command. check-in: bf0018fbdc user: andreas_kupries tags: trunk
17:05
* configure.in: Bumped version to 5.44.1.11. * configure: Regen'd, autoconf 2.59. * exp_command.c (Exp_OverlayObjCmd): Fixed [Expect SF Bug 2127456] reported by <[email protected]>, with thanks. Changed retrieval of command from objv[0] (== 'overlay' itself), to objv[i] containing the actual user command. * expect.c (string_case_first, string_first, eval_case_string): Applied patch supplied by Andy Belsey <[email protected]> fixing the seg.fault in 'expect -exact'. With thanks for both the analysis of the problem and the patch. See also [Expect SF Bug 2114547]. check-in: d432545301 user: andreas_kupries tags: trunk