summaryrefslogtreecommitdiffstats
path: root/generic/tclFileName.c
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclInt.decls: Revised the interfaces of the routinesdgp2007-06-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclExecute.c: TclStackAlloc and TclStackFree to make them easier for callers to use (or more precisely, harder to misuse). TclStackFree now takes a (void *) argument which is the pointer intended to be freed. TclStackFree will panic if that's not actually the memory the call will free. TSA/TSF also now tolerate receiving (interp == NULL), in which case they simply fall back to be calls to Tcl_Alloc/Tcl_Free. * generic/tclIntDecls.h: make genstubs * generic/tclBasic.c: Updated callers * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclIOCmd.c: * generic/tclIndexObj.c: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclProc.c: * generic/tclTrace.c: * unix/tclUnixPipe.c:
* Whitespace policing, replacing commas in varargs with constant string ↵Kevin B Kenny2007-04-201-3/+3
| | | | catenation, and fixed an oversight in the fix for NZA time zones.
* Eliminate use of (VOID*) casts when calling memset or memcpy.dkf2007-04-171-2/+2
|
* Reformat to standard function definition formdkf2007-04-101-2/+5
|
* Handle creation of Tcl_Objs from constant strings better (easier to use, moredkf2007-04-101-7/+6
| | | | efficient). After [Patch 1529526] (afredd)
* * generic/tclBasic.c: Replace arrays on the C stack and ckallocdgp2007-04-021-3/+4
| | | | | | | | | | | | * generic/tclExecute.c: calls with TclStackAlloc calls to use memory * generic/tclFCmd.c: on Tcl's evaluation stack. * generic/tclFileName.c: * generic/tclIOCmd.c: * generic/tclIndexObj.c: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclTrace.c: * unix/tclUnixPipe.c:
* various "const" additions, in line with TIP #27nijtmans2007-02-201-39/+40
|
* Bug #1479814. Handle extended paths on Windows NT and above.patthoyts2007-02-201-5/+47
|
* * generic/tclFileName.c (TclGlob): added a panic for a call withMiguel Sofer2006-09-271-2/+7
| | | | | TCL_GLOBMODE_TAILS and pathPrefix==NULL. This would cause a segfault, as found by coverity #26.
* * generic/tclFileName.c (DoGlob): match incrs with decrs.hobbs2006-08-301-1/+3
|
* fix to two filesystem issuesvincentdarley2006-03-191-31/+28
|
* fix to glob memory leak and file stat ino/nlink on windowsvincentdarley2005-10-231-1/+7
|
* ANSI function definitionsdkf2005-10-181-137/+137
|
* Getting more systematic about styledkf2005-07-171-422/+540
|
* bug 1194458Kevin B Kenny2005-06-211-8/+15
|
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
|
* silenced a compiler warningKevin B Kenny2005-04-201-2/+2
|
* more tests and a fix to bug 1158199vincentdarley2005-03-151-4/+7
|
* fix to file norm, file pathtype on windows reserved filenames - ensure build ↵vincentdarley2005-03-151-4/+4
| | | | ok on unix
* fix to file norm, file pathtype on windows reserved filenames - ensure build ↵vincentdarley2005-03-151-4/+10
| | | | ok on unix
* fix to file norm, file pathtype on windows reserved filenamesvincentdarley2005-03-151-14/+15
|
* fix to test suite failuresvincentdarley2005-02-101-3/+12
|
* * generic/tclThread.c: Typo police. Fixed some nitsandreas_kupries2005-01-211-2/+2
| | | | | | * generic/tclCmdAH.c: in header comments of functions. * generic/tclBasic.c: (Missing --). * generic/tclFileName.c:
* fix to glob failure on Windows sharesvincentdarley2005-01-171-2/+18
|
* filesystem generic/platform code splittingvincentdarley2004-10-071-3/+14
|
* Simplify the guts of [glob]; maybe mortals can comprehend it now?dkf2004-10-061-199/+214
|
* Silence compiler warning...dkf2004-10-061-1/+2
|
* Style fixes (spaces, braces, etc.)dkf2004-10-061-466/+463
|
* fix to small filesystem bugsvincentdarley2004-09-271-1/+7
|
* fix to some compiler warningsvincentdarley2004-05-081-2/+6
|
* vfs glob root volume fixvincentdarley2004-05-071-2/+19
|
* Patch 922727 committed. Implements three changes:dgp2004-04-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only. * generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same. * win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed):
* Corrected case: Filesystem.h -> FileSystem.hdgp2004-03-301-2/+2
|
* fix to glob with volume relative paths, bug 898238vincentdarley2004-03-301-2/+50
|
* Removed support for Mac OS Classic platform [Patch 918142]das2004-03-171-576/+3
|
* glob -path fix for near filesystem rootvincentdarley2004-03-091-3/+6
|
* glob -path fix for near filesystem rootvincentdarley2004-03-091-1/+8
|
* * generic/tclFileName.c (SkipToChar): Corrected CONST anddgp2004-02-051-6/+5
| | | | type-casting issues that caused compiler warnings.
* filesystem optimisation -- Three main issues accomplished: (1) cleaned up ↵vincentdarley2004-01-211-374/+436
| | | | variable names in
* * generic/tclFileName.c (Tcl_GlobObjCmd): Latest changes todgp2004-01-131-24/+16
| | | | | | management of the interp result by Tcl_GetIndexFromObj() exposed improper interp result management in the [glob] command procedure. Corrected by adopting the Tcl_SetObjResult(Tcl_NewStringObj) pattern.
* filesystem bug fixesvincentdarley2003-10-131-5/+7
|
* 2003-07-16 Mumit Khan <khan@nanotech.wisc.edu>hobbs2003-07-171-40/+13
| | | | | | | | | * generic/tclPathObj.c (SetFsPathFromAny): Add Cygwin specific code to convert POSIX filename to native format. * generic/tclFileName.c (Tcl_TranslateFileName): And remove from here. (TclDoGlob): Adjust for cygwin and append / for dirs instead of \ * win/tclWinFile.c (TclpObjChdir): Use chdir on Cygwin. [Patch 679315]
* * generic/tclFileName.c (Tcl_GlobObjCmd): [Bug 771840]dgp2003-07-161-2/+1
| | | | | | * generic/tclPathObj.c (Tcl_FSConvertToPathType):[Bug 771947] * unix/tclUnixFCmd.c (GetModeFromPermString): [Bug 771949] Silence compiler warnings about unreached lines.
* fix to glob and filenames with square bracketsvincentdarley2003-04-251-3/+14
|
* remove unused variablevincentdarley2003-01-091-4/+1
|
* 3 small fixesvincentdarley2002-11-131-3/+45
|
* 2002-09-18 Mumit Khan <khan@nanotech.wisc.edu>hobbs2002-09-271-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added basic Cygwin support. * win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build. (SC_PATH_TKCONFIG): Likewise. (SC_PROG_TCLSH): Likewise. (SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin flags. Add -mwin32 to extra_cflags and extra_ldflags. Remove ``-e _WinMain@16'' from LDFLAGS_WINDOW. * win/configure.in: Allow Cygwin build. (SEH test): Define to be 1 instead of empty value. (EXCEPTION_DISPOSITION): Add test. * win/configure: Regenerate. * generic/tcl.h: Don't explicitly define __WIN32__ for Cygwin, let the user decide whether to use Windows or POSIX personality. (TCL_WIDE_INT_TYPE, TCL_LL_MODIFIER, struct Tcl_StatBuf): Define for Cygwin. * generic/tclEnv.c (Tcl_CygwinPutenv): putenv replacement for Cygwin. * generic/tclFileName.c (Tcl_TranslateFileName): Convert POSIX to native format. (TclDoGlob): Likewise. * generic/tclPlatDecls.h (TCHAR): Define for Cygwin. * win/tclWinPort.h (putenv, TclpSysAlloc, TclpSysFree, TclpSysRealloc): Define for Cygwin.
* * generic/tclFileName.c (TclGlob): mac specific fix todas2002-06-051-2/+12
| | | | | | | | | recent changes in 'glob -tails' handling. * mac/tclMacPort.h: * mac/tclMacChan.c: fixed TIP#91 bustage. * mac/tclMacResource.c (Tcl_MacConvertTextResource): added utf conversion of text resource contents. * tests/macFCmd.test (macFCmd-1.2): allow CWIE creator.
* glob fixesvincentdarley2002-05-301-28/+62
|
* fix to bug 553320vincentdarley2002-05-071-2/+9
|