diff options
author | hobbs <hobbs> | 1999-11-19 06:34:22 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 1999-11-19 06:34:22 (GMT) |
commit | cda8b14a36f467923692a9571083c9203233355a (patch) | |
tree | 24fe6a335f832b13881e6e2ab69caad9effa3445 /generic/tclIOSock.c | |
parent | b5a3b0736e5c9388b4979a05136aba4c833e902d (diff) | |
download | tcl-cda8b14a36f467923692a9571083c9203233355a.zip tcl-cda8b14a36f467923692a9571083c9203233355a.tar.gz tcl-cda8b14a36f467923692a9571083c9203233355a.tar.bz2 |
* generic/tclProc.c: corrected error reporting for default case
at the global level for uplevel command.
* generic/tclIOSock.c: changed int to size_t type for len
in TclSockMinimumBuffers.
* generic/tclCkalloc.c: fixed Tcl_DbCkfree to return a value
on NULL input. [Bug: 3400]
* generic/tclStringObj.c: fixed support for passing in negative
length to Tcl_SetUnicodeObj, et al handling routines. [Bug: 3380]
* doc/scan.n:
* tests/scan.test:
* generic/tclScan.c: finished support for inline scan by
supporting XPG identifiers.
* doc/http.n:
* library/http2.1/http.tcl: added register and unregister
commands to http:: package (better support for tls/SSL),
as well as -type argument to http::geturl. [RFE: 2617]
* generic/tclBasic.c: removed extra decr of numLevels in
Tcl_EvalObjEx that could cause seg fault. (mjansen@wendt.de)
* generic/tclEvent.c: fixed possible lack of MutexUnlock in
Tcl_DeleteExitHandler [Bug: 3545]
Diffstat (limited to 'generic/tclIOSock.c')
-rw-r--r-- | generic/tclIOSock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclIOSock.c b/generic/tclIOSock.c index 3fb9e8d..1d6c642 100644 --- a/generic/tclIOSock.c +++ b/generic/tclIOSock.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: tclIOSock.c,v 1.3 1999/04/16 00:46:47 stanton Exp $ + * RCS: @(#) $Id: tclIOSock.c,v 1.4 1999/11/19 06:34:23 hobbs Exp $ */ #include "tclInt.h" @@ -91,8 +91,8 @@ TclSockMinimumBuffers(sock, size) int size; /* Minimum buffer size */ { int current; - int len; - + size_t len; + len = sizeof(int); getsockopt(sock, SOL_SOCKET, SO_SNDBUF, (char *)¤t, &len); if (current < size) { |