Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ANN: Expect 5.45.3 released

109 views
Skip to first unread message

Andreas Kupries

unread,
Oct 14, 2017, 12:08:06 AM10/14/17
to

After quite a long time of no visible activity it is my
pleasure to announce the release of Expect 5.45.3, a patchlevel
release of 5.45 (released in 2010) with a lots of accumulated
bugfixes.

The released sources are available at

https://sourceforge.net/projects/expect/files/Expect/5.45.3/

From the changelog:

* 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 <nils.c...@ludd.ltu.se>. Replaced a
cc==0 check with proper Tcl_Eof() check.

* tclconfig/tcl.m4: [http://sourceforge.net/p/expect/patches/17/]
* configure: Extended Tcl header detection for OS X Mountain Lion.

* 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.

* exp_chan.c: Applied patch sent in by Ogawa Hirofumi
<hiro...@mail.parknet.co.jp>. 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
<clev...@users.sourceforge.net> 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: <clev...@users.sourceforge.net> fixing problem
* expect.c: with an insufficient test for a lost channel in
exp_background_channelhandler.

* 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

* example/autopasswd: Updated to use tclsh in PATH, and 'package
* example/chess.exp: require Expect'. Obsoletes fixline1.

* 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.

* Makefile.in: improved make dist target to include the necessary
files, and remove old dist_orig. Enable Makefile regen target

* 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

* 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.

* 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.

* 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.

* example/unbuffer: [Bug 2949748]: Applied patch by Vitezslav Crhonek
<vcrh...@users.sourceforge.net> 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.

--
See you,
Andreas Kupries <akup...@shaw.ca>
<http://core.tcl.tk/akupries/>
Developer @ SUSE (MicroFocus Canada LLC)
<andreas...@suse.com>

Tcl'2017, Oct 16-20, Houston, TX, USA. http://www.tcl.tk/community/tcl2017/
-------------------------------------------------------------------------------
0 new messages