| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
care must be taken that the value cannot possibly become pure Unicode. Calling
Tcl_AppendToObj() has the possibility of making such a conversion. Bug found
while valgrinding the trunk.
|
| |\
| | |
| | |
| | |
| | | |
care must be taken that the value cannot possibly become pure Unicode. Calling
Tcl_AppendToObj() has the possibility of making such a conversion. Bug found
while valgrinding the trunk.
|
| | |
| | |
| | |
| | |
| | | |
care must be taken that the value cannot possibly become pure Unicode. Calling
Tcl_AppendToObj() has the possibility of making such a conversion. Bug found
while valgrinding the trunk.
|
| | |
| | |
| | | |
fix compilation with -DNO_CONST
|
| | |
| | |
| | |
| | | |
the fairly-common operation of converting a DString into an Obj a more
efficient one.
|
| | |
| | |
| | | |
baroque in its internals.
|
|\ \ \
| |/ /
| | |
| | | |
remove some unused cygwin-related code
some minor gcc warnings
|
| |\ \
| | |/
| | |
| | |
| | | |
move up #undef, for macro which is conflicting with later stuff.
remove some unused cygwin-related code
some minor gcc warnings
|
| | |
| | |
| | | |
(backported from Tcl 8.5)
|
| | |
| | |
| | |
| | | |
n mingw, sys/stat.h must be included
before winsock2.h, so make sure of that
|
| | | |
|
| | |
| | |
| | |
| | | |
Refactor all the *Join*Path* routines to give them more useful interfaces
that are easier to manage getting the refcounts right.
|
| | | |
|
| | | |
|
| | |
| | |
| | | |
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.
|