summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixChan.c
diff options
context:
space:
mode:
authordas <das>2006-03-25 03:18:55 (GMT)
committerdas <das>2006-03-25 03:18:55 (GMT)
commitd6c8b1f344c1864f243a235fd35b19b5277c2d1f (patch)
tree62ee545d95c4e9a03ec5b7fd646cd1fcdace14dd /unix/tclUnixChan.c
parent3c760e605a22fda005d26976e4a325d8bff6b2ef (diff)
downloadtcl-d6c8b1f344c1864f243a235fd35b19b5277c2d1f.zip
tcl-d6c8b1f344c1864f243a235fd35b19b5277c2d1f.tar.gz
tcl-d6c8b1f344c1864f243a235fd35b19b5277c2d1f.tar.bz2
backing out last change, Tcl_Panic will be declared to never return
Diffstat (limited to 'unix/tclUnixChan.c')
-rw-r--r--unix/tclUnixChan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c
index 6c0b7ed..098510c 100644
--- a/unix/tclUnixChan.c
+++ b/unix/tclUnixChan.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: tclUnixChan.c,v 1.67 2006/03/25 01:58:20 das Exp $
+ * RCS: @(#) $Id: tclUnixChan.c,v 1.68 2006/03/25 03:18:55 das Exp $
*/
#include "tclInt.h" /* Internal definitions for Tcl. */
@@ -3183,7 +3183,7 @@ TclUnixWaitForFile(
if (fd >= FD_SETSIZE) {
Tcl_Panic("TclWaitForFile can't handle file id %d", fd);
- return 0;
+ /* must never get here, or readyMasks overrun will occur below */
}
memset((void *) readyMasks, 0, 3*MASK_SIZE*sizeof(fd_mask));
index = fd/(NBBY*sizeof(fd_mask));