summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authormdejong <mdejong>2003-03-06 09:58:44 (GMT)
committermdejong <mdejong>2003-03-06 09:58:44 (GMT)
commitc2ce0bdf9e6f8693a01148c0a34d49020712fd65 (patch)
treec02a2ec95dadec6446f2a1063640f76a0cff33dd /ChangeLog
parent07b4cc33fb2184b87a048a0a930f1396a70d9df5 (diff)
downloadtcl-c2ce0bdf9e6f8693a01148c0a34d49020712fd65.zip
tcl-c2ce0bdf9e6f8693a01148c0a34d49020712fd65.tar.gz
tcl-c2ce0bdf9e6f8693a01148c0a34d49020712fd65.tar.bz2
* generic/tclIO.c (Tcl_GetsObj): Check that
the eol pointer has not gone past the end of the string when in auto translation mode and the INPUT_SAW_CR flag is set. The previous code worked because the end of string value \0 was being compared to \n, this patch just skips that pointless check.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 24f8e34..c057284 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
2003-03-06 Mo DeJong <mdejong@users.sourceforge.net>
+ * generic/tclIO.c (Tcl_GetsObj): Check that
+ the eol pointer has not gone past the end
+ of the string when in auto translation
+ mode and the INPUT_SAW_CR flag is set.
+ The previous code worked because the
+ end of string value \0 was being compared
+ to \n, this patch just skips that pointless
+ check.
+
+2003-03-06 Mo DeJong <mdejong@users.sourceforge.net>
+
* generic/tclIO.c (WriteBytes, WriteChars,
Tcl_GetsObj, ReadBytes): Rework calls to
TranslateOutputEOL to make it clear that