summaryrefslogtreecommitdiffstats
path: root/compat
Commit message (Collapse)AuthorAgeFilesLines
* * compat/string.h: fixed memchr() protoype for __APPLE__ so that wedas2005-04-261-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build on Mac OS X 10.1 again. * generic/tclNotify.c (TclFinalizeNotifier): fixed notifier not being finalized in unthreaded core (was testing for notifier initialization in current thread by checking thread id != 0 but thread id is always 0 in untreaded core). * unix/tclUnixNotfy.c (Tcl_WaitForEvent): sync with HEAD: only declare and use timeout var in unthreaded core. * unix/Makefile.in: added @PLAT_SRCS@ to SRCS and split out NOTIFY_SRCS from UNIX_SRCS for parity with UNIX_OBJS & NOTIFY_OBJS. * unix/configure.in: only run check for broken strstr implementation if AC_REPLACE_FUNCS(strstr) hasn't already determined that strstr is unavailable, otherwise compat/strstr.o will be used twice (resulting in duplicate symbol link errors on Mac OS X 10.1) * unix/tcl.m4 (Darwin): added configure checks for recently added linker flags -single_module and -search_paths_first to allow building with older tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD and not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from Tk of symbols from libtclstub to avoid duplicate symbol warnings, added PLAT_SRCS definition for Mac OS X. (SC_MISSING_POSIX_HEADERS): added caching of dirent.h check. (SC_TCL_64BIT_FLAGS): fixed 'checking for off64_t' message output. * unix/configure: autoconf-2.13
* added definition of NULL to strstr.c for Bug 1175161Kevin B Kenny2005-04-121-1/+6
|
* * compat/strftime.c (_conv): Corrected a problem where hour 0Kevin B Kenny2004-09-081-4/+10
| | | | | | would format as a blank format group with %k. * tests/clock.test (clock-41.1): Added regression test case for %k at the zero hour.
* * compat/strftime.c (_fmt, ISO8601Week): Kevin B Kenny2004-05-181-21/+77
| | | | | | | * doc/clock.n: * tests/clock.test: Major rework to the handling of ISO8601 week numbers. Now passes all the %G and %V test cases on Windows, Linux and Solaris [Bugs #500285, #500389, and #852944]
* Make sure EOVERFLOW is defined on Unix.dkf2002-06-071-84/+83
|
* * tests/clock.test: added clock-9.1hobbs2002-05-291-4/+13
| | | | | | | | | | | | * compat/strftime.c: * generic/tclClock.c: * generic/tclInt.decls: * generic/tclIntDecls.h: * unix/tclUnixTime.c: fix for Windows msvcrt mem leak caused by using an env(TZ) setting trick for in clock format -gmt 1. This also makes %s seem to work correctly with -gmt 1 as well as making it a lot faster by avoid the env(TZ) hack. TclpStrftime now takes useGMT as an arg. [Bug #559376]
* * doc/clock.n:hobbs2002-04-221-7/+56
| | | | | | * compat/strftime.c (_fmt): change strftime to correctly handle localized %c, %x and %X on Windows. Added some notes about how the other values could be further localized.
* * compat/strtod.c (strtod): simplified #includesdgp2002-02-251-2/+2
| | | | | * compat/strtol.c (strtol): gather result in a long before returning as a long: necessary on platforms where sizeof(int) != sizeof(long).
* simplified the #include linesdgp2002-02-251-8/+2
|
* Minor cleanup of compat functions to get rid of GCC warnings.dkf2002-02-253-11/+13
|
* * compat/strtoull.c (strtoull):dgp2002-02-243-14/+58
| | | | | | | * compat/strtoll.c (strtoll): * compat/strtoul.c (strtoul): Fixed failure to handle leading sign symbols '+' and '-' and '0X' and raise overflow errors. [Bug 440916] Also corrects prototype and errno problems.
* Const-ifying declarations of strtoll/strtoull and new compat code.dkf2002-02-222-12/+12
|
* Further changes to the TIP 72 patch to make it compile under VC++Kevin B Kenny2002-02-153-9/+21
|
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-152-0/+351
| | | | | This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode.
* * Sought out and eliminated instances of CONST-casting that are nodgp2002-01-261-2/+2
| | | | longer needed after the TIP 27 effort.
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-232-5/+4
| | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435658) see ChangeLog for details
* * Fixed failure to handle expressionsdgp2001-09-041-1/+7
| | | | like 3eq2 and failure to set errno on overflow. [Bug 440894]
* * compat/string.h: Fixed function prototypes for strpbrk andericm2000-07-181-3/+4
| | | | strtok [Bug: 6020].
* added IsLeapYear macro (from tclGetDate.y)hobbs2000-01-151-2/+3
|
* * unix/tclUnixTime.c: New clock format format.ericm2000-01-141-2/+12
| | | | | | * compat/strftime.c: New clock format format. * generic/tclGetDate.y: New clock scan format.
* * compat/waitpid.c: use pid_t type instead of int [Bug: 3999]hobbs2000-01-111-5/+9
|
* revert changes to TclpStrftime, not needed for internal functions.redman1999-07-221-6/+6
|
* * doc/Utf.3:redman1999-07-221-6/+6
| | | | | | | | | | | | | * generic/tcl.decls: * generic/tclInt.decls: * generic/tclDecls.h: * generic/tclIntDecls.h: * generic/tclUtf.c: * compat/strftime.c: * unix/tclUnixTime.c: Changed function declarations in non-platform-specific APIs to use "unsigned long" instead of "size_t", which may not be defined on certain compilers (rather than include sys/types.h, which may not exist).
* merged tcl 8.1 branch back into the main trunkstanton1999-04-164-7/+72
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-1421-25/+24
|
* Initial revisionrjohnson1998-03-2621-0/+1998