summaryrefslogtreecommitdiffstats
path: root/generic/tclFileName.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't use arrays of length 1, just use a single element then, it makes code ↵nijtmans2010-05-191-6/+6
| | | | more readable.
* Code Audit results:dkf2010-03-051-4/+5
| | | | | | | | * use do { ... } while (0) in macros * avoid shadowing one local variable with another * use clearer 'foo.bar++;' instead of '++foo.bar;' where result not required (i.e., semantically equivalent) * follow Engineering Manual rules on spacing and declarations
* More tidying up (whitespace, spelling, useless parentheses, useless casts)dkf2010-02-241-3/+2
|
* [Bug 942170]: Detect the st_blocks field of 'struct stat' correctly.dkf2009-12-281-6/+7
|
* Various CYGWIN-related fixes. In the win32 configure script, CYGWIN is still ↵nijtmans2009-12-211-5/+14
| | | | not enabled yet, but at least it is a step in the right direction.
* * 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]
* CONSTify TclPrintInstruction and TclpNativeJoinPath (TIP #27)nijtmans2009-01-221-10/+13
| | | | | {unix win} in *.decls is equivalent to {generic} tclGetDate.y, tclDate.c: single internal const decoration
* * 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.
* Add "const" to many internalnijtmans2008-10-161-5/+5
| | | | | const tables. No functional or API change.
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-291-5/+1
| | | | | | * doc/glob.n: Revise [glob] to accept zero patterns. * generic/tclFileName.c: * tests fileName.test:
* Fix [Bug 2130726].dkf2008-09-271-1/+24
|
* Implement TIP #316.dkf2008-09-241-1/+110
|
* * 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.
* fix [2021443] inconsistant "wrong # args" messages (follow-up)nijtmans2008-07-211-2/+2
|
* Reverted dkf's accidental commit of the TIP 316 APIs as part of a code cleanuppatthoyts2008-05-021-108/+1
|
* More elimination of pre-C89-isms.dkf2008-05-021-19/+128
|
* 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
* 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
|