summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixCompat.c
Commit message (Collapse)AuthorAgeFilesLines
* [Bug 3601804]: platformCPUID segmentation fault on Darwinjan.nijtmans2013-01-261-0/+8
|\ | | | | FossilOrigin-Name: e6f01c28bd802741f36af5c6f8f439032800a68d
| * [Bug 3601804]: platformCPUID segmentation fault on Darwinjan.nijtmans2013-01-261-0/+8
| |\ | | | | | | FossilOrigin-Name: 2be066838a0ae15ffbb2ed4bdf3d882b6c95c2a2
| | * [Bug 3601804]: platformCPUID segmentation fault on Darwinjan.nijtmans2013-01-261-0/+8
| | | | | | | | | FossilOrigin-Name: 794facf36b5347a8bf4d060b2320c8ee3760f2d6
* | | 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. FossilOrigin-Name: 08080f56f1d25086e47a824d1379cb685eee28f4
| * | 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. FossilOrigin-Name: 8750be345cbbf7368d94c5729002ac2228185a88
| | * 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. FossilOrigin-Name: 2153733cd75dc123c2032445267cbc2ce1da89d9
* | | revert [8e83219e38]: it doesn't work on i386jan.nijtmans2013-01-241-1/+1
|\ \ \ | |/ / | | | FossilOrigin-Name: 16e86f86133f36fbbeb95d140088b9142d87fa05
| * | revert [f3509c3d35]: it doesn't work on i386jan.nijtmans2013-01-241-1/+1
| |\ \ | | |/ | | | FossilOrigin-Name: 5aa72128a99bf1134f195a2bc2b9e910ebcd1c73
| | * revert [273bbe926d]: it doesn't work on i386jan.nijtmans2013-01-241-1/+1
| | | | | | | | | FossilOrigin-Name: 47af4262826bb5d555f1b16bbc369d01a31e188a
* | | Bug [3601804]: platformCPUID segmentation fault on Darwinjan.nijtmans2013-01-221-1/+1
|\ \ \ | |/ / | | | FossilOrigin-Name: 8e83219e38afc12d6df6014be24bef598aa594c4
| * | Bug [3601804]: platformCPUID segmentation fault on Darwinjan.nijtmans2013-01-221-1/+1
| |\ \ | | |/ | | | FossilOrigin-Name: f3509c3d35db04178597664b9a95a1e64c768ab9
| | * Bug [3601804]: platformCPUID segmentation fault on Darwinjan.nijtmans2013-01-221-1/+1
| | | | | | | | | FossilOrigin-Name: 273bbe926d7ca40c5eed4971375fd4a721dabe9d
| * | [Bug 3555454] Rearrange a bit to quash 'declared but never defined' compiler ↵stwo2012-08-131-6/+10
| | | | | | | | | | | | | | | warnings. FossilOrigin-Name: 074c6d5d58a014d0813d1b87efa059f6ab40da3f
| * | [Bug 3544683]: Backport of reentrancy fix for super-POSIX correctness of thedkf2012-07-161-54/+216
| | | | | | | | | | | | | | | passwd/group access functions. FossilOrigin-Name: 2516ef336db202375be054e0aa8200b093556876
* | | [Bug 3555454] Rearrange a bit to quash 'declared but never defined' compiler ↵stwo2012-08-131-6/+10
| | | | | | | | | | | | | | | warnings. FossilOrigin-Name: 3f2231d81a048018a060fa8de39c5a856818cf43
* | | Change one '#ifdef' to '#if defined()' for improved consistency within the file.stwo2012-08-081-1/+1
| | | | | | | | | FossilOrigin-Name: 211aa4301359905f90ffee99bb6701ab43bce653
* | | Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-1/+1
|\ \ \ | |/ / | | | FossilOrigin-Name: 123ede187702b829c2ea75ccc3fd48e88a4cc9fa
| * | Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-1/+1
| |\ \ | | |/ | | | FossilOrigin-Name: 05e03611b4dc4df424998bebb80d4f77271611f3
| | * 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 FossilOrigin-Name: d10b6a84313e53bdd9d639c96eaf93875fd8a398
* | | Better detection and implementation for cpuid instruction on Intel-derived ↵jan.nijtmans2012-05-021-9/+8
|\ \ \ | |/ / | | | | | | | | | processors, both 32-bit and 64-bit FossilOrigin-Name: 269feeeb7786a2e97f21f6a7f01b7f2b8b829f3f
| * | Better detection and implementation for cpuid instruction on Intel-derived ↵jan.nijtmans2012-05-021-9/+8
| |\ \ | | |/ | | | | | | | | | processors, both 32-bit and 64-bit FossilOrigin-Name: 1e03bb547b9bfe16e9a4e420b60a3275caa47e38
| | * Better detection and implementation for cpuid instruction on Intel-derived ↵jan.nijtmans2012-05-021-9/+8
| | |\ | | | | | | | | | | | | | | | | processors, both 32-bit and 64-bit FossilOrigin-Name: 847aacf3813812612d99bfa382db133ef2c50c01
| | | * cpuid-on-unixjan.nijtmans2012-05-021-7/+6
| |_|/ |/| | | | | FossilOrigin-Name: ffb2de10b753961ccde93944a7a63d4c2bb00a84
* | | switch off 32-bit assemblerjan.nijtmans2012-05-021-1/+1
|\ \ \ | |/ / | | | FossilOrigin-Name: 39f5e5993332b142908680ab7bfc0acf815fa415
| * | switch off 32-bit specific assemblerjan.nijtmans2012-05-021-1/+1
| |\ \ | | |/ | | | FossilOrigin-Name: c08b6fe92629af59e9bdfd948b9ed5d73218316b
| | * switch off - temporary - 32-bit specific assemblerjan.nijtmans2012-05-021-1/+1
| | | | | | | | | FossilOrigin-Name: b831167e4e7a5ed06b3cf98f05d37cc596232f7e
* | | TclWinCPUID now respects -fPIC compilation on 32-bit Linuxjan.nijtmans2012-05-021-5/+7
|\ \ \ | |/ / | | | FossilOrigin-Name: cf269b5da3ec53b277aaa26a92e59cb47ccb5bdf
| * | TclWinCPUID now respects -fPIC compilation on 32-bit Linuxjan.nijtmans2012-05-021-2/+7
| |\ \ | | |/ | | | FossilOrigin-Name: 64a0a9db46939aee593e49d5b3c78360a2ab940b
| | * TclWinCPUID now respects -fPIC compilation on 32-bit Linuxjan.nijtmans2012-05-021-2/+7
| | | | | | | | | FossilOrigin-Name: 39444fd759bca8eb72c019d2b4309fa9fe12ee47
* | | Revert introduction of non-portable asm snippet in function TclWinCPUID, to ↵ferrieux2012-04-301-0/+3
| | | | | | | | | | | | | | | restore compilability on Linux. FossilOrigin-Name: 2e93a2feb32a53c618c292d21b1edc0f0ed18e62
| | |
| \ \
*-. \ \ [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-1/+5
|\ \ \ \ | | |/ / | | | | | | | | | | | | | | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin FossilOrigin-Name: 3caedf05df5f633fcf7be0aae735bb26a6de081b
| | | |
| | | \
| | *-. \ [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-1/+5
| | |\ \ \ | |/ / / / | | | | / | | | |/ | | | | | | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin FossilOrigin-Name: fcc5957e5911f8e7bd56f6da83842ec3b2054999
| | | * syntax errorjan.nijtmans2012-04-241-1/+2
| | |/ | | | | | | FossilOrigin-Name: 19382d2dcc8a9c9aa944d6bf8388327929ee98b8
| | * [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-2/+5
| | | | | | | | | | | | | | | | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin FossilOrigin-Name: ae92de6078051cad28f8d5c66edb2078c5259d32
* | | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-03-201-0/+37
|\ \ \ | |/ / | | | FossilOrigin-Name: 8f9c16848b62a6e6e63e22143be5c8c5f9a73ca1
| * | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-03-201-0/+37
| |\ \ | | |/ | | | FossilOrigin-Name: 5caa06383d8399b39af1a5334f8cc00932a115fb
| | * [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-03-201-1/+38
| | | | | | | | | FossilOrigin-Name: 9922ac54e848338d45b255ef64b6d6668c7fe469
* | | * 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. FossilOrigin-Name: ed2b08e56647de08a084565a71cb7f202d03003d
* | | 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). FossilOrigin-Name: c64f310d38b977e7ae26a48bcf8bb8c50e453af7
| * | 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. FossilOrigin-Name: 79367df0f0e01a96f037f893e889e7cb9b807847
| | * 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. FossilOrigin-Name: 90b4acd7bdab65433169a232124967885c18d972
| | * 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] FossilOrigin-Name: 019184a9dba8c0c1dcddaf69e622b8b52920ec09
| | * 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] FossilOrigin-Name: 6118a19940fadb68a833691f7104636f4d05e3a7
| | * * 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. FossilOrigin-Name: 2b856a9c1f8fa386dbf2b5af65790c02ff2e7180
| | * * 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. FossilOrigin-Name: 86b2c903a47c64039d0a1853418d1640eba88f28
| | * Fixed compilation for Darwin so the compiler does not bark aboutvasiljevic2006-09-081-8/+11
| | | | | | | | | | | | | | | | | | defined but unused functions. FossilOrigin-Name: 72fbfa5dee8ac04decc42b2ed8ee87da4a5026d7
| | * * unix/tclUnixCompat.c: Fixed conditions for CopyArray/CopyString,andreas_kupries2006-09-081-6/+6
| | | | | | | | | | | | | | | | | | and CopyHostent. Also fixed bad var names in TclpGetHostByName. FossilOrigin-Name: 6744e9959771d71fc12babc8f23f8c4599777018
| | * For Darwin, assume gethostbyname() and gethostbyaddr() are MT-safevasiljevic2006-09-081-3/+3
| | | | | | | | | | | | | | | | | | starting with Dariwn 6 (Mac OSX 10.2) or later. FossilOrigin-Name: 4281d89b4a7d7f013f320c715329daa17a824e6e
| | * * 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. FossilOrigin-Name: 271fd1651142f68e75046eb09bc00c57d48dd3ab
| | * Fixed typos in some wrapersvasiljevic2006-09-071-4/+4
| | | | | | | | | FossilOrigin-Name: e464350dcb4c8dd36b1237286d185bb2280015d6