[Pkg-tcltk-commits] r1853 - in expect/trunk/debian: . patches
sgolovan at alioth.debian.org
sgolovan at alioth.debian.org
Sat Jul 15 05:21:59 UTC 2017
Author: sgolovan
Date: 2017-07-15 05:21:59 +0000 (Sat, 15 Jul 2017)
New Revision: 1853
Modified:
expect/trunk/debian/changelog
expect/trunk/debian/control
expect/trunk/debian/patches/26-eof-handling.patch
Log:
[expect]
* Added a patch by Georg-Johann Lay which now properly checks for EOF
and doesn't lose input when there are some characters in the input buffer
and EOF flag happens.
* Bumped standards version to 4.0.0.
Modified: expect/trunk/debian/changelog
===================================================================
--- expect/trunk/debian/changelog 2017-01-25 10:09:51 UTC (rev 1852)
+++ expect/trunk/debian/changelog 2017-07-15 05:21:59 UTC (rev 1853)
@@ -1,8 +1,11 @@
-expect (5.45-8) UNRELEASED; urgency=medium
+expect (5.45-8) unstable; urgency=medium
- * NOT RELEASED YET
+ * Added a patch by Georg-Johann Lay which now properly checks for EOF
+ and doesn't lose input when there are some characters in the input buffer
+ and EOF flag happens.
+ * Bumped standards version to 4.0.0.
- -- Sergei Golovan <sgolovan at debian.org> Fri, 23 Oct 2015 11:38:11 +0300
+ -- Sergei Golovan <sgolovan at debian.org> Sat, 15 Jul 2017 08:21:00 +0300
expect (5.45-7) unstable; urgency=medium
Modified: expect/trunk/debian/control
===================================================================
--- expect/trunk/debian/control 2017-01-25 10:09:51 UTC (rev 1852)
+++ expect/trunk/debian/control 2017-07-15 05:21:59 UTC (rev 1853)
@@ -5,7 +5,7 @@
Build-Depends: debhelper (>= 9.0.0), dpkg-dev (>= 1.16.1~), autotools-dev,
autoconf, tcl8.6-dev
Build-Conflicts: autoconf2.13
-Standards-Version: 3.9.6
+Standards-Version: 4.0.0
Homepage: http://sourceforge.net/projects/expect/
Package: expect
Modified: expect/trunk/debian/patches/26-eof-handling.patch
===================================================================
--- expect/trunk/debian/patches/26-eof-handling.patch 2017-01-25 10:09:51 UTC (rev 1852)
+++ expect/trunk/debian/patches/26-eof-handling.patch 2017-07-15 05:21:59 UTC (rev 1853)
@@ -1,9 +1,10 @@
-Author: Upstream
-Description: Report and fix both by Nils Carlson.
+Author: Georg-Johann Lay
+Description: Enhancement of a bugfix by Nils Carlson.
Replaced a cc==0 check with proper Tcl_Eof() check.
-Last-Modified: Fri, 23 Oct 2015 11:09:07 +0300
+Last-Modified: Fri, 14 Jul 2017 17:07:47 +0300
Bug: http://sourceforge.net/p/expect/patches/18/
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799301
+See-Also: https://gcc.gnu.org/ml/gcc/2017-06/msg00000.html
--- a/expect.c
+++ b/expect.c
@@ -17,7 +18,7 @@
- /* but it should be looked at again anyway". */
- if (cc == 0) {
+
-+ if (Tcl_Eof(esPtr->channel)) {
++ if (cc == 0 && Tcl_Eof(esPtr->channel)) {
cc = EXP_EOF;
- } else if (cc > 0) {
- /* successfully read data */
More information about the Pkg-tcltk-commits
mailing list