summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixCompat.c
Commit message (Collapse)AuthorAgeFilesLines
* Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-3/+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-3/+0
| | | | | | more harm than good. Purged them.
| * TclpGetHostByName: The six-argument form of getaddressbyname_r() usesvasiljevic2007-12-141-5/+6
| | | | | | | | | | the fifth argument to indicate whether the lookup succeeded or not on at least one platform. [Bug 1618235]
| * The six-argument form of getaddressbyname_r() uses the fifth argument todkf2007-11-131-2/+2
| | | | | | | | | | indicate whether the lookup succeeded or not on at least one platform. [Bug 1618235]
| * * unix/tclUnixCompat.c (PadBuffer): Fixed bug in calculation ofandreas_kupries2006-09-121-5/+11
| | | | | | | | | | the increment needed to align the pointer, and added documentation explaining why the macro is implemented as it is.
| * * unix/tclUnixCompat.c: make compatLock static and only declare it whendas2006-09-111-107/+110
| | | | | | | | | | it will actually be used; #ifdef parts of TSD that are not always needed; adjust #ifdefs to cover all possible cases; fix whitespace.
| * Fixed compilation for Darwin so the compiler does not bark aboutvasiljevic2006-09-081-8/+11
| | | | | | | | defined but unused functions.
| * * unix/tclUnixCompat.c: Fixed conditions for CopyArray/CopyString,andreas_kupries2006-09-081-6/+6
| | | | | | | | and CopyHostent. Also fixed bad var names in TclpGetHostByName.
| * For Darwin, assume gethostbyname() and gethostbyaddr() are MT-safevasiljevic2006-09-081-3/+3
| | | | | | | | starting with Dariwn 6 (Mac OSX 10.2) or later.
| * * unix/tclUnixFCmd.c: Removed some false tests addedvasiljevic2006-09-071-21/+62
| | | | | | | | | | | | | | | | | | (and left by mistake) by fixing the Tcl Bug: 999544 * unix/tclUnixCompat.c: Added fallback to MT-unsafe library calls if TCL_THREADS is not defined. Fixed alignment of arrays copied by CopyArrayi() to be on the sizeof(char *) boundary.
| * Fixed typos in some wrapersvasiljevic2006-09-071-4/+4
| |
| * Fixed wrong structure usage in some wrappersvasiljevic2006-09-071-3/+3
| |
| * Rewritten MT-safe wrappers to return ptrs to TSD storagevasiljevic2006-09-071-103/+136
| |
| * Added for fixing the Tcl Bug 999544vasiljevic2006-09-061-0/+584
|
* Various trivial fixes, discovered during CYGWIN porting attempt. All ↵nijtmans2010-01-061-4/+4
| | | | backported from trunk.
* Reduce scope of <sys/filio.h> and <sys/ioctl.h> #includes.jenglish2008-02-281-1/+12
|
* Consolidate all code conditionalized on -DUSE_FIONBIO into one place.jenglish2008-02-281-1/+34
| | | | New routine TclUnixSetBlockingMode().
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* The six-argument form of getaddressbyname_r() uses the fifth argument todkf2007-11-131-6/+6
| | | | | indicate whether the lookup succeeded or not on at least one platform. [Bug 1618235]
* header cleanupdgp2007-09-071-2/+1
|
* Simplify the #ifdef logic.dkf2007-07-311-334/+396
|
* Complete the purge of K&R function definitions from manually-written code.dkf2007-04-161-12/+36
|
* * unix/tclUnixCompat.c (PadBuffer): Fixed bug in calculation ofandreas_kupries2006-09-121-5/+11
| | | | | the increment needed to align the pointer, and added documentation explaining why the macro is implemented as it is.
* * unix/tclUnixCompat.c: make compatLock static and only declare it whendas2006-09-111-107/+110
| | | | | it will actually be used; #ifdef parts of TSD that are not always needed; adjust #ifdefs to cover all possible cases; fix whitespace.
* Added special handling for Darwin where gethostbyname/addr are actuallyvasiljevic2006-09-081-10/+13
| | | | MT-safe per-se.
* * unix/tclUnixCompat.c: Fixed conditions for CopyArray/CopyString,andreas_kupries2006-09-081-6/+6
| | | | and CopyHostent. Also fixed bad var names in TclpGetHostByName.
* unix/tclUnixCompat.c: Added fallback to MT-unsafevasiljevic2006-09-071-21/+62
| | | | | | library calls if TCL_THREADS is not defined. Fixed alignment of arrays copied by CopyArrayi() to be on the sizeof(char *) boundary.
* Rewritten MT-safe wrappers to return ptrs to TSD storage.vasiljevic2006-09-071-103/+136
|
* Added for fixing Tcl Bug 999544vasiljevic2006-09-061-0/+584