| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
rest of Tcl source code. No ABI change. API change *should* be harmless.
|
|\
| |
| | |
cause more harm than good. Purged them (except in zlib files).
|
| |\
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | |
| | | |
* tests/fileName.test: matches something like ~foo. [Bug 2837800]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | | |
* tests/fileName.test: option to [glob]. [Bug 1750300]
Thanks to Matthias Kraft and George Peter Staplin.
|
| | | |
|
| | |
| | |
| | |
| | | |
separators by [glob]. [Bug 1569042]
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
normalization done by the recursive glob routine, since changing the
precise string of the pathname broke [glob] on some Tcl_Filesystems.
[Bug 943995]
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
ok on unix
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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/tclIOUtil.c (Tcl_FSConvertToPathType):[Bug 771947]
* unix/tclUnixFCmd.c (GetModeFromPermString): [Bug 771949]
Silence compiler warnings about unreached lines.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
* tests/fileName.test:
|
| | |
| | |
| | |
| | | |
matches something like ~foo. [Bug 2837800]
|
| | |
| | |
| | |
| | |
| | |
| | | |
Tcl_FSMatchInDirectory() calls did not have its return code checked.
This caused error messages returned by some Tcl_Filesystem drivers
to be swallowed.
|
| | |
| | |
| | |
| | |
| | | |
* tests/fileName.test: option to [glob]. [Bug 1750300]
Thanks to Matthias Kraft and George Peter Staplin.
|
| | |
| | |
| | |
| | | |
more readable.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
not enabled yet, but at least it is a step in the right direction.
|
| | |
| | |
| | |
| | | |
* tests/fileName.test:
|
| | |
| | |
| | |
| | | |
matches something like ~foo. [Bug 2837800]
|
| | |
| | |
| | |
| | |
| | | |
{unix win} in *.decls is equivalent to {generic}
tclGetDate.y, tclDate.c: single internal const decoration
|
| | |
| | |
| | |
| | |
| | |
| | | |
Tcl_FSMatchInDirectory() calls did not have its return code checked.
This caused error messages returned by some Tcl_Filesystem drivers
to be swallowed.
|
| | |
| | |
| | |
| | |
| | | |
const tables. No functional
or API change.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* doc/glob.n: Revise [glob] to accept zero patterns.
* generic/tclFileName.c:
* tests fileName.test:
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
* tests/fileName.test: option to [glob]. [Bug 1750300]
Thanks to Matthias Kraft and George Peter Staplin.
|
| | | |
|
| | | |
|
|/ / |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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:
|
| |
| |
| |
| | |
catenation, and fixed an oversight in the fix for NZA time zones.
|
| | |
|