Expect

File History
Login

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

History of exp_clib.c

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. file: [fc3d1d806c] check-in: [2e3f7face1] user: andreas_kupries branch: trunk, size: 72594
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. file: [a0ff0c8983] check-in: [5bf9e2c817] user: eee branch: trunk, size: 84260
2010-06-09
22:08
ANSIfication changes. file: [b2b7a5de31] check-in: [306b3e4ca4] user: eee branch: trunk, size: 81475
2010-03-24
19:28
more ANSIfications file: [946d071f11] check-in: [db3d6db8b3] user: eee branch: trunk, size: 81353
2010-03-15
23:17
ANSIfication changes. file: [97e886af02] check-in: [7261e72970] user: eee branch: trunk, size: 81345
2010-03-11
21:55
WHITESPACE CHANGES ONLY. I removed a number of form-feed characters that had been littered about the source code. file: [4ef1309b51] check-in: [427e90617d] user: eee branch: trunk, size: 84259
2009-07-14
18:21
* exp_clib.c (TclRegComp): Fixed memory leak reported by <ettlmartin@users.sourceforge.net> in [Expect SF Bug 2814263]. file: [e0b2234ff9] check-in: [a6f01a3232] user: andreas_kupries branch: trunk, size: 84260
2003-09-05
19:01
* Merged changes from the official version 5.39 of expect into the SF sources. See details below. Partially already done. -------------------- Poorva Gupta <poorva@cup.hp.xcom> noted that grantpt/unlockpt order was backward. Strange that this was never a prob before! Eric Raymond <esr@snark.thyrsus.xcom> provided a troff-related fix for the multixterm man page. Nicolas Roeser <n-roeser@gmx.xnet> noted confusion with md5 so I made the Expect page more explicit about which file that hash was based on. Josh Purinton noted that earlier fix wasn't quite right. Exit on INT/TERM should cause Expect to exit with signal embedded in status. He also requested I obfuscate email addresses in this file. Guido Ostkamp <Guido.Ostkamp@t-online.xde> and Igor Sobrado <sobrado@string1.ciencias.uniovi.xes> noted that fixline1 rewrote scripts to be expect scripts even if they were expectk scripts. Dirk Petera <dirkpetera@yahoo.xcom> noted that any_spawn_id used to work but did no longer. Looks like a bug left over from the the I18L conversion. Fixed. Steve Szabo noted exp_log_file -open channel failed. Fixed. Fixed bug from 5.31 that prevent stty from returning messages from underlying program. Thomas Dickey <dickey@herndon4.his.xcom> noted that ncurses ignores 2-char term names because of, well, poor assumptions and coding. Changed tkterm to use longer names. Heath Moore <hmoore@systran.xcom> noted that exp_clib could lock up if remtime happened to be precisely 0. Recoded to avoid. At request of Per Otterholm <otterholm@telia.xcom>, wrote script to read from stdin and echo passwords (exercise 9 in Tk chapter of Expect book). Added to example directory as passwdprompt. Josh Purinton <josh@purinton.xorg> pointed out that by default, SIGINT/TERM should cause expect's return status to be 1, not 0. Paul Reithmuller <paul.reithmuller@eng.sun.xcom> noted that unbuffer shouldn't postprocess its output. Added stty_init. Mordechai T. Abzug <morty@sanctuary.arbutus.md.xus> noted that log_file wasn't recording -append status. James Kelly <macubergeek@comcast.xnet> noted weather example needed new source. Dimitar Haralanov <mitko@tahoenetworks.xcom> noted that interact dumped core with interact { timeout 1 } -------------------- file: [a9b90b7cce] check-in: [676ad4907d] user: andreas_kupries branch: trunk, size: 84231
2003-05-08
16:54
* exp_clib.c (expectv): Applied patch provided on c.l.t., by Don Libes <libes@nist.gov> in response to a bug report by "Heath Moore" <hmoore@systran.com> in same place: > Regarding expect 5.38... > > I'm using libexpect on RedHat 8.0 to communicate via telnet, > and am having problems with it locking up instead of timing > out. Causing traffic during the lockup breaks the lockup. I > looked at the sources, and think I may have found the reason. > > It appears as though i_read can be called with remtime== 0, > which means do > one read() and return without using alarm(), > even when exp_timeout is non-zero. This would happen if > i_read were to return after receiving non-matching data when > end_time == current_time. The subsequent i_read would then > wait until it received data. file: [82886212f6] check-in: [7cf1194455] user: andreas_kupries branch: trunk, size: 84205
2002-03-23
04:55
Andreas Kupries mods to provide CONST support per TIP 27. file: [8e95bbf8fa] check-in: [64a314a49a] user: libes branch: trunk, size: 84105
2001-09-13
02:27
umm.. fixed bad fix... ignore last mistake ;) file: [ad6abf31dc] check-in: [c29ede0ded] user: davygrvy branch: win32-jump-point-1, size: 83942
02:22
<eol> mishandling repaired file: [da39a3ee5e] check-in: [c6a011e516] user: davygrvy branch: win32-jump-point-1, size: 0
2000-01-06
23:22
Merge of expect5-31-branch to mainline file: [e8278607ea] check-in: [b3a65077e1] user: wart branch: trunk, size: 83962
1999-12-22
17:45
Clib was hanging because status_pipe wasn't being closed. file: [c535860cd3] check-in: [c5e0b402df] user: libes branch: expect-5-31-branch, size: 83962
1999-12-04
06:18
Fixes to library. Testing new fix to system command. file: [2ff5c348ed] check-in: [6b8599b569] user: libes branch: expect-5-31-branch, size: 83884
1999-08-04
22:10
fixed dup case in clib due to multiple defs of ENOTSUP/OPNOTSUP added passmass -su file: [4326c8ba8d] check-in: [72c130b61f] user: libes branch: master-UNNAMED-BRANCH, size: 83572
1999-07-07
20:15
declaration botch file: [ab3eb9c6e4] check-in: [bb92d933a1] user: libes branch: master-UNNAMED-BRANCH, size: 83513
19:49
Resolved link problem with Tcl_ErrnoMsg and TclRegError. The problem was that exp_clib.c provides substitute definitions for some of the Tcl functions when the Tcl library is absent. (The library is not used with exp_clib.) In order for the other functions in the Expect library (that work with either Tcl/Expect or exp_clib), they had to be turned into function pointers. file: [298269ff18] check-in: [acd278b2a4] user: libes branch: master-UNNAMED-BRANCH, size: 83527
1999-07-03
03:44
Fixed Expect's standalone C library and examples. This required some changes to Expect since it and the library share some things. file: [e68cad8073] check-in: [4393c392d5] user: libes branch: master-UNNAMED-BRANCH, size: 83621
1999-06-29
04:35
Ignore errors from ioctl(TIOCSCTTY) Update documentation file: [48e4df4aec] check-in: [ca3fc8dc73] user: libes branch: master-UNNAMED-BRANCH, size: 105528
02:27
Fixed spawn -pty. Fixed off by one error while stuffing regexp matches into variables. Some of the regexp matches were being stuck into the global frame. Protected all exprs in examples with {}. Returned support for "expect --" file: [e487e7f133] check-in: [e928edc7af] user: libes branch: master-UNNAMED-BRANCH, size: 105198
1999-06-28
06:29
fixes throughout code but all tests and examples finally run see NEWS file for summary file: [48ae94a72a] check-in: [f7e72007fa] user: libes branch: master-UNNAMED-BRANCH, size: 105369
1999-06-16
03:02
compiled! file: [bdd9b45d31] check-in: [45350b762d] user: don branch: master-UNNAMED-BRANCH, size: 105469
1999-06-15
22:53
Everything but Dbg.c file: [1731c6eb76] check-in: [2e0db04658] user: don branch: master-UNNAMED-BRANCH, size: 105237
1999-06-14
23:54
made stuff compile file: [7d2328a777] check-in: [c10b879c97] user: don branch: master-UNNAMED-BRANCH, size: 31417
20:36
fixed Log/Diag and ExpectCmd file: [791d851dcb] check-in: [123d22d566] user: don branch: master-UNNAMED-BRANCH, size: 30534
1998-10-14
22:53
*** empty log message *** file: [5fb6f8a994] check-in: [c9cbab5472] user: cvsadmin branch: trunk, size: 29291 Added