summaryrefslogtreecommitdiffstats
path: root/generic/tclFileName.c
Commit message (Collapse)AuthorAgeFilesLines
* some formatting (*.decls)jan.nijtmans2012-04-041-9/+0
|\ | | | | | | | | move up #undef, for macro which is conflicting with later stuff. remove some unused cygwin-related code some minor gcc warnings
| * [Bug 3288345] Wrong Tcl_StatBuf used on Cygwinjan.nijtmans2012-03-201-11/+0
| | | | | | (backported from Tcl 8.5)
| * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-0/+1
| | | | | | | | n mingw, sys/stat.h must be included before winsock2.h, so make sure of that
* | CONST-ification update.dgp2011-10-271-2/+3
| |
* | 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.
| * 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.
| * * generic/tclFileName.c: Correct result from [glob */test] when *dgp2009-08-171-3/+27
| | | | | | | | * tests/fileName.test: matches something like ~foo. [Bug 2837800]
| * * generic/tclFileName.c (TclDoGlob): One of thedgp2008-12-031-4/+4
| | | | | | | | | | | | | | Tcl_FSMatchInDirectory() calls did not have its return code checked. Some VFS drivers can return TCL_ERROR, and when that's not checked, the error message gets converted into a list of matching files returned by [glob], with ridiculous results.
| * * generic/tclFileName.c: Fix for errors handling -types {}dgp2008-08-131-1/+5
| | | | | | | | | | * tests/fileName.test: option to [glob]. [Bug 1750300] Thanks to Matthias Kraft and George Peter Staplin.
| * Attempt to correct regression filename-16.6 due to 2006-05-13 commit.dgp2006-10-031-2/+6
| |
| * * generic/tclFileName.c (TclGlob): Prevent doubling of directorydgp2006-10-021-1/+5
| | | | | | | | separators by [glob]. [Bug 1569042]
| * * generic/tclFileName.c (TclDoGlob): match incr with existing decr.hobbs2006-08-301-6/+6
| |
| * * generic/tclFileName.c (TclDoGlob): Disabled the partialdgp2006-05-131-4/+8
| | | | | | | | | | | | normalization done by the recursive glob routine, since changing the precise string of the pathname broke [glob] on some Tcl_Filesystems. [Bug 943995]
| * bugs 1194458 and 1225044Kevin B Kenny2005-06-211-9/+15
| |
| * 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/+10
| | | | | | | | ok on unix
| * fix to file norm, file pathtype on windows reserved filenamesvincentdarley2005-03-151-18/+19
| |
| * glob -path fix for near filesystem rootvincentdarley2004-03-091-1/+11
| |
| * * 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. This stopped a segfault in test filename-11.36.
| * filesystem bug fixes: volumerelative normalization, file join inconsistencyvincentdarley2003-10-061-2/+3
| |
| * backporting of filesystem tests, docsvincentdarley2003-10-031-5/+6
| |
| * 2003-07-16 Mumit Khan <khan@nanotech.wisc.edu>hobbs2003-07-171-40/+13
| | | | | | | | | | | | | | | | * generic/tclIOUtil.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.
| * * generic/tclFileName.c (Tcl_GlobObjCmd): [Bug 771840]dgp2003-07-161-2/+1
| | | | | | | | | | | | * generic/tclIOUtil.c (Tcl_FSConvertToPathType):[Bug 771947] * unix/tclUnixFCmd.c (GetModeFromPermString): [Bug 771949] Silence compiler warnings about unreached lines.
| * glob and square brackets fixvincentdarley2003-04-291-3/+14
| |
* | installData.tcl: Make sure that copyDir only receives normalized paths.nijtmans2010-05-211-5/+4
| | | | | | | | | | | | tclPlatDecls.h: Fix <tchar.h> inclusion for CYGWIN. tclPathObj.c: Fix Tcl_SetStringObj usage for CYGWIN. *.c: Fix various minor other gcc warnings, like signed<->unsigned mismatch.
* | * generic/tclFileName.c: Correct regression in [Bug 2837800] fix.dgp2009-08-211-2/+2
| | | | | | | | * tests/fileName.test:
* | * generic/tclFileName.c: Correct result from [glob */test] when *dgp2009-08-201-2/+30
| | | | | | | | matches something like ~foo. [Bug 2837800]
* | * generic/tclFileName.c (DoGlob): One of thedgp2008-12-031-3/+4
| | | | | | | | | | | | Tcl_FSMatchInDirectory() calls did not have its return code checked. This caused error messages returned by some Tcl_Filesystem drivers to be swallowed.
* | * generic/tclFileName.c: Fix for errors handling -types {}dgp2008-08-131-1/+5
| | | | | | | | | | * tests/fileName.test: option to [glob]. [Bug 1750300] Thanks to Matthias Kraft and George Peter Staplin.
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | More minor cleanupdkf2007-11-181-8/+7
| |
* | * 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