summaryrefslogtreecommitdiffstats
path: root/generic/tclIOSock.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix [743338466549f09e3956d8a86e6f9a8030f227cb|7433384665]: socket error ↵jan.nijtmans2014-11-211-3/+20
| | | | encoding bug.
* Revert [3c0b0bbda6]. If this really is a problem, it needs to get fixed by ↵max2013-11-181-2/+2
| | | | other means than covering behind void pointers.
* Fix compiler warning when compiling Itcl 4.0:jan.nijtmans2013-07-031-2/+2
| | | | | | In file included from ./generic/itcl2TclOO.c:12:0: /Tcl/include/tclInt.h:3012:8: warning: ‘struct addrinfo’ declared inside parameter list [enabled by default] const char **errorMsgPtr); ^
* Workaround for [socket -server foo -myaddr localhost 0] failure on OSX.max2012-09-261-2/+13
|
* Final part of result generation conversion (modulo any minor blunders)dkf2012-08-051-17/+19
|
* fix some gcc 64-bit warningsjan.nijtmans2012-06-261-4/+4
|\ | | | | | | quoting improvements eliminate unused variable
| * fix some gcc 64-bit warningsjan.nijtmans2012-06-261-4/+4
| |\ | | | | | | | | | quoting improvements eliminate unused variable
| | * fix some gcc 64-bit warningsjan.nijtmans2012-06-261-4/+4
| | | | | | | | | quoting improvements
* | | Use EAI_SYSTEM only if it exists.max2012-06-261-2/+5
| | |
* | | Rework the error message generation of [socket], so that the errormax2012-06-221-28/+4
| | | | | | | | | code of getaddrinfo is used instead of errno unless it is EAI_SYSTEM.
* | | move TCHAR definition for Cygwin from tclUnixPort.h to tclPlatDecls.h,jan.nijtmans2012-05-071-1/+1
|\ \ \ | |/ / | | | so it can be used for the Plat* interfaces as well
| * | move TCHAR definition for Cygwin from tclUnixPort.h to tclPlatDecls.h,jan.nijtmans2012-05-071-1/+1
| |\ \ | | |/ | | | so it can be used for the Plat* interfaces as well
| | * move TCHAR definition for Cygwin from tclUnixPort.h to tclPlatDecls.h, jan.nijtmans2012-05-071-1/+1
| | | | | | | | | so it can be used for the Plat* interfaces as well
* | | Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-1/+1
|\ \ \ | |/ /
| * | Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-1/+1
| |\ \ | | |/
* | | Reduce amount of unreachable code. Refactor Win socket and load code to be lessdkf2012-04-051-5/+7
| | | | | | | | | baroque in its internals.
* | | some formatting (*.decls)jan.nijtmans2012-04-041-1/+1
|\ \ \ | |/ / | | | | | | remove some unused cygwin-related code some minor gcc warnings
| * | some formatting (*.decls)jan.nijtmans2012-04-041-1/+1
| |\ \ | | |/ | | | | | | | | | move up #undef, for macro which is conflicting with later stuff. remove some unused cygwin-related code some minor gcc warnings
* | | [Bug 510001]: TclSockMinimumBuffers needs plat impjan.nijtmans2012-04-041-9/+8
|\ \ \ | |/ /
| * | [Bug 510001]: TclSockMinimumBuffers needs plat impjan.nijtmans2012-04-041-5/+10
| |\ \ | | |/
| | * [Bug 510001]: TclSockMinimumBuffers needs plat impjan.nijtmans2012-04-041-5/+10
| | |\
| | | * better solution for bug-510001bug_510001jan.nijtmans2012-03-291-0/+9
| | |/ | | | | | | it fills a correctly working stub entry for Win64
* | | Don't use AI_ADDRCONFIG for now. It seems to do more harm than good.max2011-08-041-0/+9
| | |
* | | Fix bug#3164655: getaddrinfo() crash on HP-UXmax2011-06-071-2/+5
| | |
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ \ | |/ / | | | cause more harm than good. Purged them (except in zlib files).
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ \ | | |/ | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
* | | Change first parameter of TclSockMinimumBuffers to ClientData, and ↵nijtmans2010-12-101-6/+11
| | | | | | | | | | | | TclWin(Get|Set)SockOpt to SOCKET, because on Win64 those are 64-bit, which does not fit.
* | | * Changelog.2008: Split off from Changelog.rmax2010-10-261-9/+14
| | | | | | | | | | | | | | | * generic/tclIOSock.c (TclCreateSocketAddress): The interp != NULL check is needed for ::tcl::unsupported::socketAF as well.
* | | On Windows, use gai_strerrorAnijtmans2010-10-071-1/+7
| | |
* | | * doc/socket.n: Document the changes to the [socket] and rmax2010-09-281-1/+146
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [fconfiguyre] commands. * generic/tclInt.h: Introduce TclCreateSocketAddress() as a * generic/tclIOSock.c: replacement for the platform-dependent * unix/tclUnixSock.c: TclpCreateSocketAddress() functions. * unix/tclUnixChan.c: Extend the [socket] and [fconfigure] * unix/tclUnixPort.h: commands to behave as proposed in * win/tclWinSock.c: TIP #162. * win/tclWinPort.h: * compat/fake-rfc2553.c: A compat implementation of the APIs * compat/fake-rfc2553.h: defined in RFC-2553 (getaddrinfo() and friends) on top of the existing gethostbyname() etc. * unix/configure.in: Test whether the fake-implementation is * unix/tcl.m4: needed. * unix/Makefile.in: Add a compile target for fake-rfc2553. * win/configure.in: Allow cross-compilation by default * tests/socket.test: Improve the test suite to make more use of * tests/remote.tcl: randomized ports to reduce interference with tests running in parallel or other services on the machine.
* | various "const" additions, in line with TIP #27nijtmans2007-02-201-4/+4
| |
* | ANSIfydkf2005-11-071-10/+10
| |
* | Getting more systematic about styledkf2005-07-191-13/+20
| |
* | Patch 922727 committed. Implements three changes:dgp2004-04-061-2/+1
|/ | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only. * generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same. * win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed):
* * unix/tcl.m4 (SC_SERIAL_PORT): Fixed detection for cases whenrmax2002-07-291-5/+2
| | | | | | | | | | | | | configure's stdin is not a tty. * unix/tclUnixPort.h: * generic/tclIOSock.c: Changed size_t to socklen_t in socket-related function calls. * unix/configure.in: Added test and fallback definition for socklen_t. * unix/configure: generated.
* * Updated interfaces of generic/tclEncoding, generic/tclFilename.c,dgp2002-01-251-2/+2
| | | | | | | | | | | generic/tclIOUtil.c, generic/tclPipe.c, generic/tclResult.c, generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according to TIP 27. Tcl_TranslateFileName rewritten as wrapper around VFS-aware version. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes source incompatibilities: argv arguments of Tcl_Concat, Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of Tcl_SplitList and Tcl_SplitPath.
* * generic/tclBasic.c (Tcl_DeleteCommandFromToken): Added commentshobbs2000-03-311-1/+4
| | | | | | | | | | noting the need to pair ckalloc with ckfree. [Bug: 4262] * generic/tclInt.decls: * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: * win/tclWin32Dll.c: removed TclWinSynchSpawn (vestige of Win32s support).
* * generic/tclProc.c: corrected error reporting for default casehobbs1999-11-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-11/+18
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-03-261-0/+102