summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-02-18 17:54:06 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-02-18 17:54:06 (GMT)
commitabe90f6c1b82d92b9e000f861edde447cf1d7863 (patch)
tree14e81d029cc4c11f8669eae6ea9cb099aade58aa /generic
parentd212e3e191d59aea969df3987426e85d086da364 (diff)
downloadtcl-abe90f6c1b82d92b9e000f861edde447cf1d7863.zip
tcl-abe90f6c1b82d92b9e000f861edde447cf1d7863.tar.gz
tcl-abe90f6c1b82d92b9e000f861edde447cf1d7863.tar.bz2
Coverage test for -translation auto handling of INPUT_SAW_CR flag.
Demonstrates refactor failure.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclIO.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index 09b8191..20101c2 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -8949,7 +8949,6 @@ CopyAndTranslateBuffer(
for (src = result; src < end; src++) {
curByte = *src;
if (curByte == '\r') {
- Tcl_Panic("Untested");
SetFlag(statePtr, INPUT_SAW_CR);
*dst = '\n';
dst++;