| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Clang/LLVM) don't define it, and _WIN32 is much more portable anyway.
See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW]
|
|\ |
|
| |\ |
|
| | | |
|
|\ \ \
| |/ / |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | | |
Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
|
| | |
| | |
| | |
| | | |
Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
|
| | |
| | |
| | | |
Only define _USE_32BIT_TIME_T for Tcl build, and only once.
|
|\ \ \
| |/ /
| | | |
Fix warning in winDde.c, and more test-cases using Unicode characters
|
| |\ \
| | |/ |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | | |
[Bug 2015723] duplicate inodes from file stat on windows
(but now for cygwin as well)
|
| |\ \
| | |/
| | |
| | | |
[Bug 2015723] duplicate inodes from file stat on windows
(but now for cygwin as well)
|
| | |
| | |
| | | |
[Bug 2015723] duplicate inodes from file stat on windows
|
| | |
| | |
| | |
| | | |
Refactor all the *Join*Path* routines to give them more useful interfaces
that are easier to manage getting the refcounts right.
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | | |
|
| | |
| | |
| | |
| | | |
n mingw, sys/stat.h must be included
before winsock2.h, so make sure of that
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
int-rep was just purged. Required to prevent a dangling IndexRep* to reused, smashing the heap. See also the entries at 2011-04-16 and 2011-03-24 for the history of the problem.
Note also bug 2857044. This is the original report and fix of such issues for HEAD.
|
| | |
| | |
| | |
| | | |
things enough that I can puzzle out AK's TclVFS problems. I suspect this is not
a real fix though; just an attempt to make the problem tractable.
|
| | |
| | |
| | |
| | | |
things enough that I can puzzle out AK's TclVFS problems. I suspect this is not
a real fix though; just an attempt to make the problem tractable.
|
| | |
| | |
| | | |
Tcl_PosixError).
|
|\ \ \
| |/ /
| | | |
rather than hanging around to trip us up in the future.
|
| |\ \
| | |/
| | | |
rather than hanging around to trip us up in the future.
|
| | |
| | |
| | | |
rather than hanging around to trip us up in the future.
|
|\ \ \
| |/ /
| | | |
cause more harm than good. Purged them (except in zlib files).
|
| |\ \
| | |/
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | |
| | | |
file mkdir (backport from head 2005-06-13) [Bug 1217375]
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Break up [file] into an ensemble. Note that the ensemble is safe in
itself, but the majority of its subcommands are not.
* generic/tclFCmd.c (FileCopyRename,TclFileDeleteCmd,TclFileAttrsCmd)
(TclFileMakeDirsCmd): Adjust these subcommand implementations to work
inside an ensemble.
(TclFileLinkCmd, TclFileReadLinkCmd, TclFileTemporaryCmd): Move these
subcommand implementations from tclCmdAH.c, where they didn't really
belong.
* generic/tclIOCmd.c (TclChannelNamesCmd): Move to more appropriate
source file.
* generic/tclEnsemble.c (TclMakeEnsemble): Start of code to make
partially-safe ensembles. Currently does not function as expected due
to various shortcomings in how safe interpreters are constructed.
* tests/cmdAH.test, tests/fCmd.test, tests/interp.test: Test updates
to take into account systematization of error messages.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclFCmd.c: null dereference flagged by clang static
* generic/tclProc.c: analyzer.
* generic/tclTimer.c:
* generic/tclUtf.c:
* generic/tclExecute.c: silence false positives from clang static
* generic/tclIO.c: analyzer about potential null dereference.
* generic/tclScan.c:
* generic/tclCompExpr.c:
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclFCmd.c: and tclpFileAttrStrings. This allows
* generic/tclIOUtil.c: FileSystems to report their attributes
* generic/tclTest.c: as const strings, without worrying that
* unix/tclUnixFCmd.c: Tcl modifies them (which Tcl should not
* win/tclWinFCmd.c: do anyway, but the API didn't indicate that)
* generic/tcl.decls
* generic/tclDecls.h: regenerated
* generic/tcl.h: make sure that if CONST84 is defined
as empty, CONST86 should be defined
as empty as well (unless overridden).
This change complies with TIP #27
*** POTENTIAL INCOMPATIBILITY ***
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* doc/file.n: Revise [file delete] and [file mkdir] to
* generic/tclCmdAH.c: accept zero "pathname" arguments (the
* generic/tclFCmd.c: no-op case).
* tests/cmdAH.test:
* tests/fCmd.test:
|
| | |
| | |
| | |
| | | |
platform [Bug 2015723]
|
| | |
| | |
| | |
| | | |
?options? to the form ?-option value ...?
|
|/ / |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| | |
efficient). After [Patch 1529526] (afredd)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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:
|