diff options
author | nijtmans <nijtmans> | 2010-01-31 23:51:36 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-01-31 23:51:36 (GMT) |
commit | 000ce914c4d1f4b493568ce10baa2341bc73b510 (patch) | |
tree | 012d77fe11409a3025fcb54cc6c78d69b36f953a /win/tclWinSock.c | |
parent | a98a5188b672f397d17abf6e04182566e1d7a7bb (diff) | |
download | tcl-000ce914c4d1f4b493568ce10baa2341bc73b510.zip tcl-000ce914c4d1f4b493568ce10baa2341bc73b510.tar.gz tcl-000ce914c4d1f4b493568ce10baa2341bc73b510.tar.bz2 |
Various CYGWIN-related fixes
backported from HEAD. Still
configure script not modified,
so CYGWIN build is still
disabled. Reason: although the
build succeeds with those changes,
many tests still fail.
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r-- | win/tclWinSock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c index b26d697..bd615a8 100644 --- a/win/tclWinSock.c +++ b/win/tclWinSock.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinSock.c,v 1.62.2.2 2009/04/27 21:45:20 ferrieux Exp $ + * RCS: @(#) $Id: tclWinSock.c,v 1.62.2.3 2010/01/31 23:51:37 nijtmans Exp $ */ #include "tclWinInt.h" @@ -1768,7 +1768,7 @@ TcpSetOptionProc( sock = infoPtr->socket; #ifdef TCL_FEATURE_KEEPALIVE_NAGLE - if (!stricmp(optionName, "-keepalive")) { + if (!strcasecmp(optionName, "-keepalive")) { BOOL val = FALSE; int boolVar, rtn; @@ -1789,7 +1789,7 @@ TcpSetOptionProc( return TCL_ERROR; } return TCL_OK; - } else if (!stricmp(optionName, "-nagle")) { + } else if (!strcasecmp(optionName, "-nagle")) { BOOL val = FALSE; int boolVar, rtn; |