summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclIORChan.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 866e14d..ddfdf80 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-05 Andreas Kupries <andreask@activestate.com>
+
+ * generic/tclIORChan.c (RcClose): Removed unreachable panic/return
+ statements. This fixes the remainder of [SF Tcl Bug 1286256].
+
2005-10-05 Jeff Hobbs <jeffh@ActiveState.com>
* tests/env.test (env-6.1):
diff --git a/generic/tclIORChan.c b/generic/tclIORChan.c
index 0a57eb3..a3012c0 100644
--- a/generic/tclIORChan.c
+++ b/generic/tclIORChan.c
@@ -15,7 +15,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclIORChan.c,v 1.5 2005/09/15 16:40:02 dgp Exp $
+ * RCS: @(#) $Id: tclIORChan.c,v 1.6 2005/10/05 17:44:58 andreas_kupries Exp $
*/
#include <tclInt.h>
@@ -1048,9 +1048,6 @@ RcClose (clientData, interp)
#endif
return (res == TCL_OK) ? EOK : EINVAL;
}
-
- Tcl_Panic ("Should not be reached");
- return EINVAL;
}
/*