summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* vfs, winfs testsuitevincentdarley2002-06-131-5/+9
|
* Made this file compile!dkf2002-06-121-2/+4
|
* fs clarification and windows fixesvincentdarley2002-06-121-7/+19
|
* fs fixed commitvincentdarley2002-06-101-2/+2
|
* small fs fixesvincentdarley2002-06-101-2/+4
|
* Make sure EOVERFLOW is defined on Unix.dkf2002-06-071-16/+31
|
* * unix/dltest/Makefile.in: Remove hard coded CFLAGS=-gmdejong2002-06-061-2/+5
| | | | | and add CFLAGS_DEBUG, CFLAGS_OPTIMIZE, and CFLAGS_DEFAULT varaibles. [Tcl bug 565488]
* * unix/tclUnixThrd.c (TclpReaddir, TclpLocaltime, TclpGmtime):das2002-06-064-308/+408
| | | | | | | | | | | | | added mutex wrapped calls to readdir, localtime & gmtime in case their thread-safe *_r counterparts are not available. * unix/tcl.m4: added configure check for readdir_r * unix/tcl.m4 (Darwin): set TCL_DEFAULT_ENCODING to utf-8 on MacOSX (where posix file apis expect utf-8, not iso8859-1). * unix/configure: regen * unix/Makefile.in: set DYLD_LIBRARY_PATH in parallel to LD_LIBRARY_PATH for MacOSX dynamic linker. * generic/tclEnv.c (TclSetEnv): fix env var setting on MacOSX (adapted from patch #524352 by jkbonfield).
* * Removed internal routinedgp2002-05-315-266/+112
| | | | | | | | TclMathInProgress and Unix implementation of matherr(). These are now obsolete, dealing with very old versions of the C math library. Windows version is retained in case Borland compilers require it, but it is inactive. Thanks to Joe English. [Bug 474335, Patch 555635].
* * unix/configure: regen'edhobbs2002-05-302-339/+377
| | | | | | | | | * unix/configure.in: replaced bigendian check with autoconf standard AC_C_BIG_ENDIAN, which defined WORDS_BIGENDIAN on bigendian systems. * generic/tclUtf.c (Tcl_UniCharNcmp): * generic/tclInt.h (TclUniCharNcmp): use WORDS_BIGENDIAN instead of TCL_OPTIMIZE_UNICODE_COMPARE to enable memcmp alternative.
* commited working regenerated configurehobbs2002-05-291-709/+1459
|
* Made Tcl_UniCharNcmp faster on big-endian machines; the system memcmp()isdkf2002-05-292-1450/+765
| | | | | probably optimized far in excess of anything we could do! Little-endian just use the old code...
* * tests/clock.test: added clock-9.1hobbs2002-05-291-3/+5
| | | | | | | | | | | | * 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]
* TIP#91 implementation; makes old style channels binary compatible withdkf2002-05-242-11/+73
| | | | new TIP#72-enabled Tcl. See http://purl.org/tcl/tip/91 for details.
* * unix/configure: Regen.mdejong2002-05-213-88/+104
| | | | | | | | | * unix/configure.in: Invoke SC_ENABLE_SHARED before calling SC_CONFIG_CFLAGS so that the SHARED_BUILD variable can be checked inside SC_CONFIG_CFLAGS. * unix/tcl.m4 (SC_CONFIG_CFLAGS): Pass -non_shared instead of -shared to ld when configured with --disable-shared under OSF. [Tcl bug 540390]
* More tidying up; tclUnixChan.c now builds with GCC without warnings.dkf2002-05-141-480/+456
|
* Stop Solaris from generating a warning; the second argument to ioctl has beendkf2002-05-131-2/+6
| | | | observed to be either signed (Solaris) or unsigned (Linux)...
* fix to 551306vincentdarley2002-05-021-1/+28
|
* * unix/configure:hobbs2002-04-262-2/+2
| | | | | * unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so that the .sl knows its dependent libs.
* regendkf2002-04-241-0/+2
|
* * generic/tclAlloc.c:hobbs2002-04-232-2/+2
| | | | | | | | | | | | | | | * generic/tclInt.h: * generic/tclThreadAlloc.c (new): * unix/Makefile.in: * unix/tclUnixThrd.c: * win/Makefile.in: * win/tclWinInt.h: * win/tclWinThrd.c: added new threaded allocator contributed by AOL that significantly reduces lock contention when multiple threads are in use. Only Windows and Unix implementations are ready, and the Windows one may need work. It is only used by default on Unix for now, and requires that USE_THREAD_ALLOC be defined (--enable-threads on Unix will define this).
* regen.dkf2002-04-231-0/+8
|
* * generic/tclAlloc.c:hobbs2002-04-234-319/+383
| | | | | | | | | | | | | | | * generic/tclInt.h: * generic/tclThreadAlloc.c (new): * unix/Makefile.in: * unix/tclUnixThrd.c: * win/Makefile.in: * win/tclWinInt.h: * win/tclWinThrd.c: added new threaded allocator contributed by AOL that significantly reduces lock contention when multiple threads are in use. Only Windows and Unix implementations are ready, and the Windows one may need work. It is only used by default on Unix for now, and requires that USE_THREAD_ALLOC be defined (--enable-threads on Unix will define this).
* * unix/tclUnixFCmd.c (Realpath): added a little extra code tohobbs2002-04-071-40/+59
| | | | | | | initialize a realpath arg when compiling in PURIFY mode in order to prevent spurious purify warnings. We should really create our own realpath implementation, but this will at least quiet purify for now.
* minor cast change to squelch warninghobbs2002-04-041-3/+3
|
* * Ran 'autoconf' - forgotten when bump to 8.4a5.dgp2002-03-281-1/+1
|
* fixed typo and compiler warning in last commit; all tests now pass on unixvincentdarley2002-03-241-2/+2
|
* 4 fs fixesvincentdarley2002-03-242-212/+283
|
* Bumped patchlevel; might need changing in the future, but it makes lifedkf2002-03-062-4/+4
| | | | easier for now.
* * unix/tclUnixChan.c: initial remedy for [Bug #525783] flushhobbs2002-03-051-4/+23
| | | | | | problem introduced by TIP #35. This may not satisfy true serial channels, but it restores the correct flushing of std* channels on exit.
* fixed URL refshobbs2002-03-051-4/+4
|
* added --enable-langinfo dochobbs2002-03-051-1/+6
|
* Also added the MSVC++ project files to dist target. I prefer not to use them,davygrvy2002-03-051-1/+3
| | | | but people might find them convenient.
* Added win/rules.vc and win/coffbase.txt to dist target needed by makefile.vcdavygrvy2002-03-051-1/+6
|
* Removed out-of-date reference to patches.dgp2002-03-051-10/+8
|
* updated to use www.tcl.tk URLhobbs2002-03-041-3/+3
|
* added older ChangeLogs to dist targethobbs2002-03-041-2/+3
|
* update for 8.4a4 docshobbs2002-03-041-0/+10
|
* * unix/tclUnixChan.c (TclpOpenFileChannel): Added code to regonizeandreas_kupries2002-02-271-2/+8
| | | | | | | | | | "/dev/tty" (by name) and to not handle it as tty / serial line. This is the controlling terminal and is special. Setting it into raw mode as is done for other tty's is a bad idea. This is a hackish fix for expect SGF Bug #520624. The fix has limitation: Tcl_MakeFileChannel handles tty's specially too, but is unable to recognize /dev/tty as it only gets a file descriptor, and no name for it.
* * unix/tclUnixSock.c (Tcl_GetHostName): added an extrahobbs2002-02-271-1/+16
| | | | | gethostbyname check to guard against failure with truncated names returned by uname.
* * unix/configure:hobbs2002-02-262-248/+297
| | | | | * unix/tcl.m4 (SC_SERIAL_PORT): added sys/modem.h check and defined _XOPEN_SOURCE_EXTENDED for HP-11 to get updated header decls.
* * unix/tclUnixChan.c: added Unix implementation of TIP #35, serialhobbs2002-02-261-16/+385
| | | | port support. [Patch #438509] (schroedter)
* * unix/tclUnixPort.h: corrected strtoll prototype mismatch on Tru64.dgp2002-02-251-2/+2
|
* * unix/tclLoadDyld.c: updated to use Mac OS X 10.1 dyld APIs thatdas2002-02-251-12/+20
| | | | have more libdl-like semantics. (bug #514392)
* * configure: Regen.mdejong2002-02-232-2/+2
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Link with -n32 instead of -32 when building on IRIX64-6.* system. [Tcl bug 521707]
* * unix/configure:hobbs2002-02-222-41/+71
| | | | | * unix/tcl.m4: added --enable-64bit support for AIX-4 (using -q64 flag) when using IBM's xlc compiler.
* Const-ifying declarations of strtoll/strtoull and new compat code.dkf2002-02-221-5/+5
|
* * unix/tclUnixPort.h: add strtoll/strtoull declarations forhobbs2002-02-161-1/+8
| | | | platforms that do not define them.
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-1512-611/+1103
| | | | | 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.
* * djgpp/ (new directory)davygrvy2002-02-121-1/+5
| | | | | | | | | | | | | | | * djgpp/Makefile (new): * unix/tclAppInit.c: * unix/tclMtherr.c: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPort.h: Early stage of DJGPP support for building Tcl on DOS. Dynamic loading isn't working, yet. Requires watt32 for the TCP/IP stack. No autoconf, yet. Barely tested, but makes a working exe that runs Tcl in protected-mode, flat memory. [exec] and pipes will need the most work as multi-tasking on DOS has to be carefully.