summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* * unix/tcl.m4, unix/configure: correct Solaris 10 (5.10) check andhobbs2005-05-072-257/+273
| | | | add support for x86_64 Solaris cc builds.
* * compat/string.h: fixed memchr() protoype for __APPLE__ so that wedas2005-04-265-356/+460
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* * unix/tcl.m4 (Darwin): added -single_module linker flag todas2005-04-092-4/+4
| | | | | TCL_SHLIB_LD_EXTRAS and TK_SHLIB_LD_EXTRAS. * unix/configure: autoconf-2.13
* Fixed TclpFreeAllocCache() to recognize when being calledvasiljevic2005-04-071-7/+10
| | | | | | with NULL argument. This is a signal for it to clean up the tsd key associated with the threading allocator. Part of fixing the Tcl Bug #1178445.
* replaced 'long' times with wides, to cope with Win64Kevin B Kenny2005-03-151-2/+2
|
* Make it all work on OpenBSD. Imported patch from ports tree.patthoyts2005-03-152-281/+329
|
* * unix/Makefile.in: remove SHLIB_LD_FLAGS (only for AIX, inlinedhobbs2005-02-103-383/+308
| | | | | | * unix/tcl.m4: into SHLIB_LD). Combine AIX-* and AIX-5 * unix/configure: branches in SC_CONFIG_CFLAGS. Enable 64-bit gcc builds for AIX-4+, correct gcc builds for HP-UX-11.
* correct autoconf generation for sol64-gcc supporthobbs2005-01-292-8/+8
|
* * unix/configure, unix/tcl.m4: add solaris 64-bit gcc build support.hobbs2005-01-282-255/+293
| | | | [Bug 1021871]
* TIP#218 IMPLEMENTATIONandreas_kupries2005-01-272-78/+57
| | | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: Regenerated from tcl.decls. * generic/tclStubInit.c: * doc/CrtChannel.3: Documentation of extended API, * generic/tcl.decls: extended testsuite, and * generic/tcl.h: implementation. Removal of old * generic/tclIO.c: driver-specific TclpCut/Splice * generic/tclInt.h: functions. Replaced with generic * tests/io.test: thread-action calls through the * unix/tclUnixChan.c: new hooks. Update of all builtin * unix/tclUnixPipe.c: channel drivers to version 4. * unix/tclUnixSock.c: Windows drivers extended to * win/tclWinChan.c: manage thread state in a thread * win/tclWinConsole.c: action handler. * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c: * mac/tclMacChan.c:
* * unix/tcl.m4 (Darwin): fixed bug with static build linking todas2005-01-252-6/+6
| | | | | | | dynamic library in /usr/lib etc instead of linking to static library earlier in search path. [Tcl Bug 956908] Removed obsolete references to Rhapsody. * unix/configure: autoconf-2.13
* Convert u_int to unsigned to make clashes with types in standard C headers lessdkf2005-01-101-3/+3
| | | | of a problem. [Bug 1098829]
* Add more locale mapping info for Chinese. [1084595]dkf2005-01-051-1/+6
|
* * unix/tclUnixNotfy.c (NotifierThreadProc): init numFdBitscore_8_4_9hobbs2004-12-071-5/+5
| | | | [Bug 1079286]
* * unix/tcl.m4 (SC_ENABLE_THREADS): Corrected failure to determinedgp2004-11-252-358/+391
| | | | | | the number of arguments for readdir_r on SunOS systems. [Bug 1071701] * unix/configure: autoconf-2.13
* bumped patchlevel to 8.4.9hobbs2004-11-253-5/+5
|
* took out redundant memcpy from tclUnixNotfy.cKevin B Kenny2004-11-241-3/+1
|
* * unix/tcl.m4 (SC_ENABLE_THREADS): Corrected bad check forKevin B Kenny2004-11-243-413/+450
| | | | | | | | | 3-argument readdir_r [Bug 1001325]. * unix/configure: Regenerated. * unix/tclUnixNotfy.c: Corrected all uses of 'select' to manage their masks using the FD_CLR, FD_ISSET, FD_SET, and FD_ZERO macros rather than bit-whacking that failed under Solaris-Sparc-64. [Bug 1071807]
* * unix/configure: Regen.mdejong2004-11-222-217/+283
| | | | | | | * unix/tcl.m4 (SC_TCL_64BIT_FLAGS): Define HAVE_TYPE_OFF64_T only when off64_t, open64(), and lseek64() are defined. IRIX 5.3 is known to not include an open64 function. [Bug 1030465]
* * unix/configure: Regen.mdejong2004-11-223-323/+411
| | | | | | | | | * unix/tcl.m4 (SC_ENABLE_THREADS): Check for a 2 argument version of readdir_r that is known to exists under IRIX 5.3. * unix/tclUnixThrd.c (TclpReaddir): Use either 2 arg or 3 arg version of readdir_r. [Bug 1001325]
* Classic sed doesn't support | in REs.core_8_4_8rmax2004-11-191-2/+5
|
* * macosx/Makefile:das2004-11-193-6/+11
| | | | | | | | | | | | * unix/configure.in: * unix/tclUnixInit.c (MacOSXGetLibraryPath): changed detection of tcl framework build when determining tclLibPath from overloaded TCL_LIBRARY to configuration define TCL_FRAMEWORK. [Bug 1068088] * unix/configure: autoconf-2.13 * tests/unixInit.test (7.1): fixed failure when running tests with -tmpdir arg not set to working dir.
* Arghh - some seds don't even support comments at all.rmax2004-11-181-8/+21
|
* Some versions of sed appear to need semicolons in front of comments.rmax2004-11-181-6/+6
|
* Fixed manpage installation.rmax2004-11-181-4/+4
|
* 2004-11-18 Reinhard Max <max@suse.de>rmax2004-11-187-2393/+498
| | | | | | | | | | * unix/tcl.m4 (SC_CONFIG_MANPAGES): Applied an improved version of * unix/configure.in: patch #996085, that introduces * unix/Makefile.in: --enable-man-suffix. * unix/installManPage: added * unix/mkLinks.tcl: removed * unix/mkLinks: removed
* * unix/tclUnixChan.c (TtySetOptionProc): fixed crash configuringhobbs2004-11-171-10/+10
| | | | -ttycontrol on a channel. [Bug 1067708]
* * win/makefile.vc: Fixed bug in installation of http 2.5.andreas_kupries2004-11-161-4/+4
| | | | | | | | * win/makefile.bc: Was installed into directory http2.4. * win/Makefile.in: This has been corrected. * unix/Makefile.in: * tools/tcl.wse.in: * tools/tclmin.wse:
* * tests/fCmd.test:das2004-11-111-33/+49
| | | | | | | | | * unix/tclUnixFCmd.c (TraverseUnixTree): added option to rewind() the readdir() loop whenever the source hierarchy has been modified by traverseProc (e.g. by deleting files); this is required to ensure complete traversal of the source hierarchy on certain filesystems like HFS+. Added test for failing recursive delete on Mac OS X that was due to this. [Bug 1034337]
* * generic/tclAlloc.c: Fixed [Tcl SF Bug 1030548], aandreas_kupries2004-10-281-1/+1
| | | | | | | * generic/tclThreadAlloc.c: threaded debug build on Windows * win/tclWinThrd.c: now works again. Had to touch Unix * unix/tclUnixThrd.c: as well. Basic patch by Kevin, with modifications by myself.
* * README: Bumped patch level to 8.4.8 to preparedgp2004-10-283-5/+5
| | | | | | | | | | | | * generic/tcl.h: for next patch release. * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
* added CONST to TclpLocaltime and TclpGmtime param throughoutKevin B Kenny2004-10-281-5/+5
|
* * unix/dltest/Makefile.in (clean): Fixup make cleanmdejong2004-09-231-2/+6
| | | | | | rule so that it does not delete all files when SHLIB_SUFFIX is set to the empty string in a static build. [Bug 1016726]
* Changed handling of the returned thread ID since broken on 64-bitvasiljevic2004-08-101-2/+4
| | | | systems (Cray). Thanks to Rob Ratcliff for reporting the bug.
* * unix/configure:das2004-07-303-5/+7
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var. * unix/Makefile.in: added MAC_OSX_OBJS variable.
* * generic/tclEvent.c: Correct threaded obj allocator tohobbs2004-07-211-12/+34
| | | | | | | * generic/tclInt.h: fully cleanup on exit and allow for * generic/tclThreadAlloc.c: reinitialization. [Bug #736426] * unix/tclUnixThrd.c: (mistachkin, kenny) * win/tclWinThrd.c:
* * unix/tcl.m4: fixed Darwin autoconf breakage caused bydas2004-07-204-258/+272
| | | | | | | | recent CFLAGS reordering. * unix/configure: regen * unix/tclConfig.sh.in: replaced EXTRA_CFLAGS with CFLAGS. * unix/dltest/Makefile.in: replaced EXTRA_CFLAGS with DEFS.
* * unix/Makefile.in, unix/tcl.m4: move (C|LD)FLAGS after theirhobbs2004-07-194-2608/+2641
| | | | | | | | | | | | * unix/configure.in, unix/configure: _DEFAULT to allow for env setting to override m4 switches. Consolidate header checks to limit redundancy in configure. (CFLAGS_WARNING): Remove -Wconversion, add -fno-strict-aliasing for gcc builds (need to suppress 3.x type puning warnings). (SC_ENABLE_THREADS): Set m4 to force threaded build when built against a threaded Tcl core. Reorder configure.in for better 64-bit build configuration, replacing EXTRA_CFLAGS with CFLAGS. [Bug #874058]
* * unix/tclUnixNotfy.c (NotifierThreadProc): Accepted Joeandreas_kupries2004-07-161-1/+3
| | | | | Mistachkin's patch for [Tcl SF Bug 990500], properly closing the notifier thread when its exits.
* * unix/tclUnixThrd.c (TclpFinalizeMutex): Accepted Joeandreas_kupries2004-07-151-0/+1
| | | | | Mistachkin's patch for [Tcl SF Bug 99453], closing leakage of mutexes. They were not destroyed properly upon finalization.
* * README, generic/tcl.h, tools/tcl.wse.in: bumped tohobbs2004-07-133-5/+5
| | | | | * unix/configure, unix/configure.in, unix/tcl.spec: patchlevel * win/README.binary, win/configure, win/configure.in: 8.4.7
* Corrected Tcl Bug #770053vasiljevic2004-06-222-4/+4
|
* silence compiler warningdgp2004-06-081-2/+2
|
* Silence compiler warningsdgp2004-06-082-5/+3
|
* * generic/tclInt.decls: Restored TclpTime_t kludge to all Kevin B Kenny2004-05-172-20/+21
| | | | | | | * generic/tclIntPlatDecls.h: places where it appeared before the * unix/tclUnixPort.h changes of 14 May, because use of * unix/tclUnixTime.h native time_t in its place requires * win/tclWinTime.h: the 8.5 header reforms. [Bug #955146]
* 2004-05-14 Kevin B. Kenny <kennykb@acm.org> Kevin B Kenny2004-05-143-139/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.decls: Promoted TclpLocaltime and TclpGmtime * generic/tclIntDecls.h: from Unix-specific stubs to the generic * generic/tclIntPlatDecls.h: internal Stubs table. Reran 'genstubs' * generic/tclStubInit.c: * unix/tclUnixPort.h: * generic/tclClock.c: Changed a buggy 'GMT' timezone specification to the correct 'GMT0'. [Bug #922848] * unix/tclUnixThrd.c: Moved TclpGmtime and TclpLocaltime to unix/tclUnixTime.c where they belong. * unix/tclUnixTime.c (TclpGmtime, TclpLocaltime, TclpGetTimeZone, ThreadSafeGMTime [removed], ThreadSafeLocalTime [removed], SetTZIfNecessary, CleanupMemory): Restructured to make sure that the same mutex protects all calls to localtime, gmtime, and tzset. Added a check in front of those calls to make sure that the TZ env var hasn't changed since the last call to tzset, and repeat tzset if necessary. [Bug #942078] Removed a buggy test of the Daylight Saving Time information in 'gettimeofday' in favor of applying 'localtime' to a known value. [Bug #922848] * tests/clock.test (clock-3.14): Added test to make sure that changes to $env(TZ) take effect immediately. * win/tclWinTime.c (TclpLocaltime, TclpGmtime): Added porting layer for 'localtime' and 'gmtime' calls.
* * generic/tclInt.h:davygrvy2004-05-061-0/+30
| | | | | | | | | * generic/tclThread.c: * generic/tclEvent.c: * unix/tclUnixThrd.c: * win/tclWinThrd.c: Provisions made so masterLock, initLock, allocLock and joinLock mutexes can be recovered during Tcl_Finalize.
* * Applied [SF Tcl Patch 868853], fixing a mem leak inandreas_kupries2004-05-041-1/+10
| | | | | TtySetOptionProc. Report and Patch provided by Stuart Cassoff <stwo@users.sf.net>.
* * generic/tclInt.h:hobbs2004-03-291-3/+6
| | | | | | | | | * generic/tclEncoding.c (TclFindEncodings, Tcl_FindExecutable): * mac/tclMacInit.c (TclpInitLibraryPath): Correct handling of UTF * unix/tclUnixInit.c (TclpInitLibraryPath): data that is actually * win/tclWinFile.c (TclpFindExecutable): "clean", allowing the * win/tclWinInit.c (TclpInitLibraryPath): loading of Tcl from paths that contain multi-byte chars on Windows [Bug 920667]
* * unix/tcl.m4 (SC_CONFIG_CFLAGS): Allow 64-bit enabling ondgp2004-03-012-2/+2
| | | | | IRIX64-6.5* systems. [Bug 218561] * unix/configure: autoconf-2.13