summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixCompat.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix harmless gcc warning message: using "unsigned" doesn't serve any ↵jan.nijtmans2016-11-111-2/+2
| | | | purpose, actually.
* Simplify use of "struct" keyword in many places.jan.nijtmans2016-06-301-1/+1
|
* [Bug 3601804]: platformCPUID segmentation fault on Darwinjan.nijtmans2013-01-261-0/+8
|\
| * [Bug 3601804]: platformCPUID segmentation fault on Darwinjan.nijtmans2013-01-261-0/+8
| |\
| | * [Bug 3601804]: platformCPUID segmentation fault on Darwinjan.nijtmans2013-01-261-0/+8
| | |
* | | new version of cpuid, which doesn't use the edi register any more. Hopefully ↵jan.nijtmans2013-01-241-4/+3
|\ \ \ | |/ / | | | | | | that works better on some Darwin.
| * | new version of cpuid, which doesn't use the edi register any more. Hopefully ↵jan.nijtmans2013-01-241-4/+3
| |\ \ | | |/ | | | | | | that works better on some Darwin.
| | * new version of cpuid, which doesn't use the edi register any more. Hopefully ↵jan.nijtmans2013-01-241-4/+3
| | | | | | | | | | | | that works better on some Darwin.
* | | revert [8e83219e38]: it doesn't work on i386jan.nijtmans2013-01-241-1/+1
|\ \ \ | |/ /
| * | revert [f3509c3d35]: it doesn't work on i386jan.nijtmans2013-01-241-1/+1
| |\ \ | | |/
| | * revert [273bbe926d]: it doesn't work on i386jan.nijtmans2013-01-241-1/+1
| | |
* | | Bug [3601804]: platformCPUID segmentation fault on Darwinjan.nijtmans2013-01-221-1/+1
|\ \ \ | |/ /
| * | Bug [3601804]: platformCPUID segmentation fault on Darwinjan.nijtmans2013-01-221-1/+1
| |\ \ | | |/
| | * Bug [3601804]: platformCPUID segmentation fault on Darwinjan.nijtmans2013-01-221-1/+1
| | |
| * | [Bug 3555454] Rearrange a bit to quash 'declared but never defined' compiler ↵stwo2012-08-131-6/+10
| | | | | | | | | | | | warnings.
| * | [Bug 3544683]: Backport of reentrancy fix for super-POSIX correctness of thedkf2012-07-161-54/+216
| | | | | | | | | passwd/group access functions.
* | | [Bug 3555454] Rearrange a bit to quash 'declared but never defined' compiler ↵stwo2012-08-131-6/+10
| | | | | | | | | | | | warnings.
* | | Change one '#ifdef' to '#if defined()' for improved consistency within the file.stwo2012-08-081-1/+1
| | |
* | | 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
| |\ \ | | |/
| | * 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
| | * 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-unixcpuid_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.