From 3c6bff5072deff3c93b25e7093a21e84b788df3f Mon Sep 17 00:00:00 2001 From: andreas_kupries Date: Fri, 23 Apr 2004 23:40:58 +0000 Subject: * generic/tclIO.c (Tcl_SetChannelOption): Fixed [SF Tcl Bug 930851]. When changing the eofchar we have to zap the related flags to prevent them from prematurely aborting the next read. --- ChangeLog | 6 + generic/tclIO.c | 11 +- tests/eofchar.data | 846 +++++++++++++++++++++++++++++++++++++++++++++++++++++ tests/io.test | 19 +- 4 files changed, 880 insertions(+), 2 deletions(-) create mode 100644 tests/eofchar.data diff --git a/ChangeLog b/ChangeLog index a0aa961..7d2b475 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-04-23 Andreas Kupries + + * generic/tclIO.c (Tcl_SetChannelOption): Fixed [SF Tcl Bug + 930851]. When changing the eofchar we have to zap the related + flags to prevent them from prematurely aborting the next read. + 2004-04-07 Jeff Hobbs * win/configure: diff --git a/generic/tclIO.c b/generic/tclIO.c index 51a105b..2e10b99 100644 --- a/generic/tclIO.c +++ b/generic/tclIO.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIO.c,v 1.61.2.3 2004/02/02 22:00:30 davygrvy Exp $ + * RCS: @(#) $Id: tclIO.c,v 1.61.2.4 2004/04/23 23:40:58 andreas_kupries Exp $ */ #include "tclInt.h" @@ -6459,6 +6459,15 @@ Tcl_SetChannelOption(interp, chan, optionName, newValue) if (argv != NULL) { ckfree((char *) argv); } + + /* + * [SF Tcl Bug 930851] Reset EOF and BLOCKED flags. Changing + * the character which signals eof can transform a current eof + * condition into a 'go ahead'. Ditto for blocked. + */ + + statePtr->flags &= (~(CHANNEL_EOF | CHANNEL_STICKY_EOF | CHANNEL_BLOCKED)); + return TCL_OK; } else if ((len > 1) && (optionName[1] == 't') && (strncmp(optionName, "-translation", len) == 0)) { diff --git a/tests/eofchar.data b/tests/eofchar.data new file mode 100644 index 0000000..4aa3d70 --- /dev/null +++ b/tests/eofchar.data @@ -0,0 +1,846 @@ +Ho hum +Ho hum +Ho hum +Ho hum +Ho hum +Ho hum +Ho hum +Ho hum +Ho hum +Ho hum +Ho hum += +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla +Ge gla Ge gla Ge gla Ge gla diff --git a/tests/io.test b/tests/io.test index 8ce7f4e..59d6b72 100644 --- a/tests/io.test +++ b/tests/io.test @@ -12,7 +12,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: io.test,v 1.40.2.3 2004/02/25 23:38:16 dgp Exp $ +# RCS: @(#) $Id: io.test,v 1.40.2.4 2004/04/23 23:40:59 andreas_kupries Exp $ if {[catch {package require tcltest 2}]} { puts stderr "Skipping tests in [info script]. tcltest 2 required." @@ -7109,6 +7109,23 @@ test io-60.1 {writing illegal utf sequences} {openpipe fileevent} { } {1 {gets {} catch {error writing "stdout": invalid argument}}} +set datafile [file join $::tcltest::testsDirectory eofchar.data] + +test io-61.1 {Reset eof state after changing the eof char} { + set f [open $datafile r] + fconfigure $f -eofchar = + lappend res [read $f; tell $f] + fconfigure $f -eofchar {} + lappend res [read $f 1] + lappend res [read $f; tell $f] + # Any seek zaps the internals into a good state. + #seek $f 0 start + #seek $f 0 current + #lappend res [read $f; tell $f] + close $f + set res +} {77 = 23431} + # cleanup -- cgit v0.12