summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
Commit message (Collapse)AuthorAgeFilesLines
* use cygwin_conv_path() in stead of deprecated cygwin_conv_to_full_posix_pathjan.nijtmans2012-06-261-4/+2
|\ | | | | FossilOrigin-Name: 0bde6cbf35418840a1620ec6db89670a7ad5e2b1
| * use cygwin_conv_path() in stead of deprecated cygwin_conv_to_full_posix_pathjan.nijtmans2012-06-261-5/+9
| |\ | | | | | | FossilOrigin-Name: 23aec1435f170c91768f86642ab34552883c7f8e
| | * use cygwin_conv_path() in stead of deprecated cygwin_conv_to_full_posix_pathjan.nijtmans2012-06-261-2/+8
| | | | | | | | | FossilOrigin-Name: bf8c3e8ec6d204c22fdc7521c1b39d823670a823
* | | 3530533 Centralize #include <pthread.h> in the tclUnixPort.h header so thatdgp2012-06-081-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | old unix systems that need inclusion in all compilation units are supported. Update autogoo for gettimeofday(). Thanks Joe English. FossilOrigin-Name: a790f23b77aec343ff78690d800c512d06b1a63f
| * | Update autogoo for gettimeofday(). Thanks Joe English.dgp2012-06-081-4/+0
| |\ \ | | |/ | | | FossilOrigin-Name: a5996386b37f7ec1f39799af17109265fee11d72
| | * Update autogoo for gettimeofday(). Thanks Joe English.dgp2012-06-081-4/+0
| | | | | | | | | FossilOrigin-Name: f6e87a944226d2436bd17aac87e8a75c46bee954
| * | 3530533 Centralize #include <pthread.h> in the tclUnixPort.h header so thatdgp2012-06-081-1/+1
| | | | | | | | | | | | | | | old unix systems that need inclusion in all compilation units are supported. FossilOrigin-Name: bd718144bf3670fa3de8cc651e32bc1392499a09
* | | move TCHAR definition for Cygwin from tclUnixPort.h to tclPlatDecls.h,jan.nijtmans2012-05-071-1/+0
|\ \ \ | |/ / | | | | | | | | | so it can be used for the Plat* interfaces as well FossilOrigin-Name: 93f80efb6ed3f8d45625b8e7a4f936793caf28e4
| * | move TCHAR definition for Cygwin from tclUnixPort.h to tclPlatDecls.h,jan.nijtmans2012-05-071-3/+2
| |\ \ | | |/ | | | | | | | | | so it can be used for the Plat* interfaces as well FossilOrigin-Name: d87557d5c3e8f0fe51af2d6e2108e6688ff14d30
| | * move TCHAR definition for Cygwin from tclUnixPort.h to tclPlatDecls.h, jan.nijtmans2012-05-071-3/+2
| | | | | | | | | | | | | | | so it can be used for the Plat* interfaces as well FossilOrigin-Name: 1a117d1880ac80d8a6b184029e625354e0281514
* | | Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-4/+19
|\ \ \ | |/ / | | | FossilOrigin-Name: 123ede187702b829c2ea75ccc3fd48e88a4cc9fa
| * | Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-4/+14
| |\ \ | | |/ | | | FossilOrigin-Name: 05e03611b4dc4df424998bebb80d4f77271611f3
| | * Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-4/+14
| | | | | | | | | | | | | | | Simplify stub tables for functions which work on both UNIX and windows FossilOrigin-Name: d10b6a84313e53bdd9d639c96eaf93875fd8a398
* | | move some more CYGWIN stuff to unix/tclUnixPort.hjan.nijtmans2012-05-031-0/+6
|\ \ \ | |/ / | | | FossilOrigin-Name: a973c8d07a5debab69bc684ea9e88478cde1f164
| * | move some more CYGWIN stuff to unix/tclUnixPort.hjan.nijtmans2012-05-031-0/+6
| |\ \ | | |/ | | | FossilOrigin-Name: 521cc77858f53b8f0fb1942483c76745bbd3a625
| | * move some more CYGWIN stuff to unix/tclUnixPort.hjan.nijtmans2012-05-031-4/+10
| | | | | | | | | FossilOrigin-Name: 45f55b9d26e1725fa1314c5a5791bcafc1be26e8
* | | Move CYGWIN-specific stuff from tclPort.h to tclUnixPort.h, where it belongsjan.nijtmans2012-04-271-2/+11
|\ \ \ | |/ / | | | FossilOrigin-Name: add6ea13976b7c891bec7653ccab6d3b9acd9eac
| * | Move CYGWIN-specific stuff from tclPort.h to tclUnixPort.h, where it belongsjan.nijtmans2012-04-271-2/+11
| | | | | | | | | FossilOrigin-Name: 533c11d007d8e745310500281326a69c5252bdc5
| * | get rid of _ANSI_ARGS_jan.nijtmans2012-04-261-3/+3
| |\ \ | | |/ | | | FossilOrigin-Name: a3f95a3b3dcf92a68cee4b5950ea33e8806fa97c
| | |
| \ \
*-. \ \ [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-1/+0
|\ \ \ \ | | |/ / | | | | | | | | | | | | | | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin FossilOrigin-Name: 3caedf05df5f633fcf7be0aae735bb26a6de081b
| | * | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-2/+0
| | |\ \ | |/ / / | | | _ | | | | | | | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin FossilOrigin-Name: fcc5957e5911f8e7bd56f6da83842ec3b2054999
| | * [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-2/+0
| | |\ | | | | | | | | | | | | | | | | | | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin FossilOrigin-Name: ae92de6078051cad28f8d5c66edb2078c5259d32
| | | * implement TclWinGetSockOpt and TclWinGetServByName for cygwijan.nijtmans2012-04-241-1/+0
| | | | | | | | | | | | | | | | | | | | (should work, but not yet tested on UNIX) FossilOrigin-Name: 6d0fea34a0b8cc30fdee8947ac76c19751c603cc
| | | * tclpGetPid signature change (stub entry only, not for macro),jan.nijtmans2012-04-061-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | for win64 compatibility with future cygwin64 correctly use win32 as default when cross-compiling under cygwin FossilOrigin-Name: 7fd5826902e165985ea782a2f70f5b1d58c01aab
| | | * implement TclpGetPid for Cygwinjan.nijtmans2012-04-041-1/+0
| | |/ | | | | | | FossilOrigin-Name: dcc7f6a5b49b24bd0ea6f4f73111f660ed19b483
* | | [Bug 3511806] Compiler checks too earlyjan.nijtmans2012-03-301-2/+0
|\ \ \ | |/ / | | | | | | | | | (autoconf still to be run!) FossilOrigin-Name: df5899ee61fbc618aa5d2527eafa1ceeedbb5b5a
| * | [Bug 3511806] Compiler checks too earlyjan.nijtmans2012-03-301-2/+0
| |\ \ | | |/ | | | | | | | | | (autoconf still to be run!) FossilOrigin-Name: b684c660315446696cd2b5906f58f4df39f2912d
| | * some better checksjan.nijtmans2012-03-281-1/+0
| | | | | | | | | FossilOrigin-Name: ec6152937c6e8fedbfc384fb525c581b93cbe9f3
| | * [Bug 3288345] Wrong Tcl_StatBuf used on Cygwinjan.nijtmans2012-03-201-1/+7
| | | | | | | | | | | | | | | (backported from Tcl 8.5) FossilOrigin-Name: 77f914d3725ba27f162091c7a59053ef6add8df9
* | | [Bug 3288345] Wrong Tcl_StatBuf used on Cygwinjan.nijtmans2012-03-151-1/+6
|\ \ \ | |/ / | | | FossilOrigin-Name: 7ad5febe39a26b2054a311d158502e552a71eb4d
| * | xjan.nijtmans2012-03-151-1/+6
| | | | | | | | | FossilOrigin-Name: 50a7f8cea56f6aa6005d3bc698cb92e1735b1d4f
* | | [Bug 2233954] AIX: compile errorjan.nijtmans2012-02-161-1/+3
|\ \ \ | |/ / | | | FossilOrigin-Name: dc007f490b21fee7c4ee906a4adbac88e319726f
| * | [Bug 2233954] AIX: compile errorjan.nijtmans2012-02-161-1/+3
| | | | | | | | | FossilOrigin-Name: 66427b5db996a0f86cc55d8eabe3c405073fd91e
* | | MINOR: Formatting fixes, mainly to comments, so code better fits the style indkf2011-03-101-177/+277
| | | | | | | | | | | | | | | the Engineering Manual. FossilOrigin-Name: 5cb634a1c1fc60d754c5b98a3d8760b06f21e777
* | | 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). FossilOrigin-Name: c64f310d38b977e7ae26a48bcf8bb8c50e453af7
| * | 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. FossilOrigin-Name: 79367df0f0e01a96f037f893e889e7cb9b807847
| | * 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. FossilOrigin-Name: 90b4acd7bdab65433169a232124967885c18d972
| | * backport darwin vfork fixdas2010-05-191-1/+7
| | | | | | | | | FossilOrigin-Name: 101fc71ec769fd1231181996489b4c5db25e3583
| | * * generic/tclEnv.c: improve environ handling on Mac OS X (adapteddas2007-08-071-4/+10
| | | | | | | | | | | | | | | | | | * unix/tclUnixPort.h: from Apple changes in Darwin tcl-64). FossilOrigin-Name: a9a78987d9dbff3cc3746645cb04e51462fd5049
| | * Restored Cygwin buildability [Bug 1387154]kennykb2007-04-211-1/+9
| | | | | | | | | FossilOrigin-Name: 336c551ccc103380d932482ead2b120f4bcb1d13
| | * * generic/tclInt.decls: Yet another round of attemptingkennykb2007-04-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: to get the correct type signature * unix/tclUnixPort.h: for TclpLocaltime and TclpGmtime. * unix/tclUnixTime.c: CONST TclpTime_t is a 'time_t *CONST' * win/tclWinTime.c: and not a 'CONST time_t*'! * generic/tclIntDecls.h: [Bug 1677275] * generic/tclIntPlatDecls.h: Regenerated. FossilOrigin-Name: c109ead7b6580bc2ed9f05a731312bd0eaa13272
| | * Rewritten MT-safe wrappers to return ptrs to TSD storagevasiljevic2006-09-071-22/+14
| | | | | | | | | FossilOrigin-Name: 7f765b1a0f5c1bf68ea0fbabfd29bd894609ca54
| | * Added MT-safe implementation of some library calls.vasiljevic2006-09-061-1/+28
| | | | | | | | | | | | | | | | | | See Tcl Bug 999544 for more information. FossilOrigin-Name: fa1da032d77a63dbe9ece8e7f3883953fb6a8ea8
| | * * unix/tclUnixPort.h (Darwin): override potentially faulty configuredas2006-08-211-7/+13
| | | | | | | | | | | | | | | | | | | | | detection of termios availability in all cases, since termios is known to be present on all Mac OS X releases since 10.0. [Bug 497147] FossilOrigin-Name: d6432e67054940fa9ef1f07d7a409cb9868805d2
| | * * unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, fordas2006-08-181-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | universal builds including x86_64, for 64-bit CoreFoundation on Leopard and for use of -mmacosx-version-min instead of MACOSX_DEPLOYMENT_TARGET. * unix/configure: autoconf-2.13 * generic/tcl.h: add fixes for building on Leopard and support for * unix/tclUnixPort.h: 64-bit CoreFoundation on Leopard. * unix/tclUnixPort.h: on Darwin x86_64, disable use of vfork as it causes execve to fail intermittently. (rdar://4685553) * macosx/README: updates for x86_64 support and Xcode 2.3. FossilOrigin-Name: a341c3758d1036ad7599b6e42f887de70114e95a
| | * * macosx/tclMacOSXNotify.c (Tcl_InitNotifier, Tcl_WaitForEvent): createdas2006-07-201-10/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | notifier thread lazily upon first call to Tcl_WaitForEvent() rather than in Tcl_InitNotifier(). Allows calling exeve() in processes where the event loop has not yet been run (Darwin's execve() fails in processes with more than one thread), in particular allows embedders to call fork() followed by execve(), previously the pthread_atfork() child handler's call to Tcl_InitNotifier() would immediately recreate the notifier thread in the child after a fork. * macosx/tclMacOSXNotify.c (Tcl_InitNotifier): add support for * unix/tclUnixFCmd.c (DoRenameFile, CopyFileAtts): weakly importing * unix/tclUnixInit.c (TclpSetInitialEncodings): symbols not available on OSX 10.2 or 10.3, enables binaires built on later OSX versions to run on earlier ones. * macosx/README: document how to enable weak-linking; cleanup. * unix/tclUnixPort.h: add support for weak-linking; conditionalize AvailabilityMacros.h inclusion; only disable realpath on 10.2 or earlier when threads are enabled. * unix/tclLoadDyld.c (TclpLoadMemoryGetBuffer): change runtime Darwin * unix/tclUnixInit.c (TclpInitPlatform): release check to use global initialized once. * unix/tclUnixFCmd.c (DoRenameFile, TclpObjNormalizePath): add runtime Darwin release check to determine if realpath is threadsafe. * unix/configure.in: add check on Darwin for compiler support of weak * unix/tcl.m4: import and for AvailabilityMacros.h header; move Darwin specific checks & defines that are only relevant to the tcl build out of tcl.m4; restrict framework option to Darwin; cleanup quoting. * unix/configure: autoconf-2.13 * unix/tclLoadDyld.c (TclpLoadMemory): * unix/tclUnixPipe.c (TclpCreateProcess): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra. FossilOrigin-Name: fc99321d6695fb452519db28ea6020c0fcaa3050
| | * * unix/tclUnixPort.h: Added the inclusion ofandreas_kupries2006-07-141-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | <AvailabilityMacros.h>. The missing header caused the upcoming #if conditions to wrongly exclude realpath, causing file normalize to ignore symbolic links in the path. FossilOrigin-Name: 35daae803760e8013d5fe29befbb49f5f8b7d882
| | * * unix/tclUnixPort.h (Darwin): support for MAC_OS_X_VERSION_MAX_ALLOWEDdas2006-06-141-10/+27
| | | | | | | | | | | | | | | | | | | | | define from AvailabilityMacros.h: override configure detection and only use API available in the indicated OS version or earlier. FossilOrigin-Name: 381c24f84c311ebd24a933be8fd8ce5bb40a32a1
| | * * unix/tclUnixPort.h (Darwin): fix incorrect __DARWIN_UNIX03 configuredas2005-12-061-1/+3
| | | | | | | | | | | | | | | | | | overrides that were originally copied from Darwin CVS (rdar://3693001). FossilOrigin-Name: 82ce47b71af4cab1ce1054aa82236b33daff8a31
| | * * unix/tclUnixPort.h (Darwin): fix incorrect __DARWIN_UNIX03 configuredas2005-12-061-8/+10
| | | | | | | | | | | | | | | | | | overrides that were originally copied from Darwin CVS (rdar://3693001). FossilOrigin-Name: 15238740375c715f2b23548aa5fe7fd1260e0706