summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2008-02-27 03:35:47 (GMT)
committerjenglish <jenglish@flightlab.com>2008-02-27 03:35:47 (GMT)
commit1b53611f89790af211f2811b6eb6acb094e04a00 (patch)
treecc3da485b97af6db3d3b02a01c3162bf10955943 /generic/tclIOUtil.c
parentbd73b8d2cd6de4ced39064b2c152e692c2ebe342 (diff)
downloadtcl-1b53611f89790af211f2811b6eb6acb094e04a00.zip
tcl-1b53611f89790af211f2811b6eb6acb094e04a00.tar.gz
tcl-1b53611f89790af211f2811b6eb6acb094e04a00.tar.bz2
Remove dead/unused portability-related #defines and unused conditional code.
See SF#1901828 for discussion and archaeological notes.
Diffstat (limited to 'generic/tclIOUtil.c')
-rw-r--r--generic/tclIOUtil.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index c996b1f..745ba6b 100644
--- a/generic/tclIOUtil.c
+++ b/generic/tclIOUtil.c
@@ -17,7 +17,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclIOUtil.c,v 1.150 2008/01/23 21:21:31 dgp Exp $
+ * RCS: @(#) $Id: tclIOUtil.c,v 1.151 2008/02/27 03:35:49 jenglish Exp $
*/
#include "tclInt.h"
@@ -1670,13 +1670,8 @@ TclGetOpenModeEx(
#endif
} else if ((c == 'N') && (strcmp(flag, "NONBLOCK") == 0)) {
-#if defined(O_NDELAY) || defined(O_NONBLOCK)
-# ifdef O_NONBLOCK
+#ifdef O_NONBLOCK
mode |= O_NONBLOCK;
-# else
- mode |= O_NDELAY;
-# endif
-
#else
if (interp != NULL) {
Tcl_AppendResult(interp, "access mode \"", flag,