summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixCompat.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | | Simplify stub tables for functions which work on both UNIX and windows
* | Better detection and implementation for cpuid instruction on Intel-derived ↵jan.nijtmans2012-05-021-9/+8
|\ \ | |/ | | | | processors, both 32-bit and 64-bit
| * Better detection and implementation for cpuid instruction on Intel-derived ↵jan.nijtmans2012-05-021-9/+8
| |\ | | | | | | | | | processors, both 32-bit and 64-bit
| | * cpuid-on-unixjan.nijtmans2012-05-021-7/+6
| | |
| | * switch off 32-bit assemblerjan.nijtmans2012-05-021-1/+1
| | |\ | |_|/ |/| |
* | | switch off 32-bit specific assemblerjan.nijtmans2012-05-021-1/+1
|\ \ \ | |/ /
| * | switch off - temporary - 32-bit specific assemblerjan.nijtmans2012-05-021-1/+1
| | |
| | * TclWinCPUID now respects -fPIC compilation on 32-bit Linuxjan.nijtmans2012-05-021-5/+7
| | |\ | |_|/ |/| |
* | | TclWinCPUID now respects -fPIC compilation on 32-bit Linuxjan.nijtmans2012-05-021-2/+7
|\ \ \ | |/ /
| * | TclWinCPUID now respects -fPIC compilation on 32-bit Linuxjan.nijtmans2012-05-021-2/+7
| | |
| | * Revert introduction of non-portable asm snippet in function TclWinCPUID, to ↵ferrieux2012-04-301-0/+3
| | | | | | | | | | | | restore compilability on Linux.
| | *-. [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-1/+5
| | |\ \ | |_|_|/ |/| | | | | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin
| | | |
| \ \ \
*-. \ \ \ [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-1/+5
|\ \ \ \ \ | | |/ / / | | | | / | |_|_|/ |/| | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin
| | * | syntax errorjan.nijtmans2012-04-241-1/+2
| |/ /
| * | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-2/+5
| | | | | | | | | | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin
| | * [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-03-201-0/+37
| | |\ | |_|/ |/| |
* | | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-03-201-0/+37
|\ \ \ | |/ /
| * | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-03-201-1/+38
| | |
| | * * unix/tclUnixCompat.c (TclpGetPwNam, TclpGetPwUid, TclpGetGrNam)dkf2011-11-031-44/+214
| | | | | | | | | | | | | | | | | | | | | (TclpGetGrGid): Use the elaborate memory management scheme outlined on http://www.opengroup.org/austin/docs/austin_328.txt to handle Tcl's use of standard reentrant versions of the passwd/group access functions so that everything can work on all BSDs. Problem identified by Stuart Cassoff.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-3/+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-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.
| * Fix gcc warning: signed and unsigned type in conditional expressionnijtmans2009-12-111-2/+2
| |
| * - eliminate some unnessary type castsnijtmans2009-02-031-3/+3
| | | | | | | | | | - some internal const decorations - spacing
| * Style fixes (unfouling whitespace, sorting comments, removing useless casts, ↵dkf2009-01-091-5/+5
|/ | | | etc.)
* 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.