summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
Commit message (Collapse)AuthorAgeFilesLines
* revert mistaken commit of experimentdgp2013-09-231-1/+1
|
* merge releasedgp2013-09-201-1/+1
|
* 3613569 Handle case when TclpTempFileNameForLibrary returns NULL.dgp2013-05-201-0/+3
|
* Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>jan.nijtmans2013-02-101-1/+0
|\
| * Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>.jan.nijtmans2013-02-101-1/+0
| |
* | revert [8abba84224], and make sure that every source file that uses ↵jan.nijtmans2013-01-171-3/+1
|\ \ | |/ | | | | Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
| * revert [8abba84224], and make sure that every source file that uses ↵jan.nijtmans2013-01-171-3/+1
| | | | | | | | Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
| * Add dummy 0 parameter (unused flags) to internal Tcl_FSLoadFileProc call, ↵jan.nijtmans2012-10-241-1/+5
| |\ | | | | | | | | | for upwards compatibility with version 2 filesystems
| | * Add dummy 0 parameter (unused flags) to internal Tcl_FSLoadFileProc call, ↵jan.nijtmans2012-10-241-1/+5
| | | | | | | | | | | | for upwards compatibility with version 2 filesystems
| | * Reference to correct Bug #numberjan.nijtmans2012-08-061-1/+1
| | |
* | | unbreak Mac OSX buildjan.nijtmans2012-10-231-1/+1
| | |
* | | Add "flags" parameter from Tcl_LoadFile to to various internal functions, so ↵jan.nijtmans2012-10-231-52/+8
|\ \ \ | |/ / | | | | | | these flags are available through the whole filesystem for (future) internal use
| * | Remove unused TclpLoadFile function.jan.nijtmans2012-10-231-43/+0
| | |
* | | Minor changes to improve style (C89 declarations, consistent indentation,dkf2012-08-071-3/+6
| | | | | | | | | | | | clarification of #endifs, reduction of unnecessary casts, use of array syntax for reading array elements, etc.)
| | |
| \ \
*-. \ \ 3554250 Overlooked one field of cleanup in the thread exit handlerdgp2012-08-071-0/+1
|\ \ \ \ | | |/ / | | | | for the filesystem subsystem.
| | * | 3554250 Overlooked one field of cleanup in the thread exit handlerdgp2012-08-071-0/+1
| |/ / | | | | | | for the filesystem subsystem.
* | | Final part of result generation conversion (modulo any minor blunders)dkf2012-08-051-45/+57
| | |
* | | converting to using Tcl_Obj API for error message generation; part donedkf2012-08-031-2/+3
| | |
* | | Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-1/+1
| | |
* | | Simplify tclFileSystem.h. Define structs where used.dgp2012-06-281-10/+55
|\ \ \ | |/ /
| * | Simplify tclFileSystem.h. Define structs where used.dgp2012-06-281-10/+55
| | |
* | | 3024359 Make sure that the per-thread cache of the list of file systemsdgp2012-06-251-34/+50
|\ \ \ | |/ / | | | | | | | | | currently registered is only updated at times when no active loops are traversing it. Also reduce the amount of epoch storing and checking to where it can make a difference.
| * | Repair Claim/Disclaim imbalancedgp2012-06-251-0/+1
| | |
| * | Simplify bug fix so that active claims on the FilesystemRecord list of a threadbug_3024359dgp2012-06-251-52/+17
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prevent any overwriting of that per-thread cache. This keeps active traversals of the list valid. The possible downside is that this may result in some delay in noticing new epochs and result in somewhat greater likelihood we will cache things in a "path" value that are out of date. Since the system has to deal with out of date cached data anyway, this should have no correctness affects, measured against the status quo. In multi-threaded operation the possibility of caching and/or retrieving outdated information can never be eliminated. Checkin also includes merge of 8.5.
| * \ \ merge 8.5dgp2012-06-221-37/+12
| |\ \ \ | | |/ /
| * | | merge 8.5dgp2012-06-221-2/+11
| |\ \ \
| * \ \ \ merge 8.5dgp2012-06-211-28/+1
| |\ \ \ \
| * | | | | Only record the filesystemEpoch when it actually marks the validity ofdgp2012-06-211-2/+2
| | | | | | | | | | | | | | | | | | something we are caching.
| * | | | | merge 8.5dgp2012-06-201-10/+4
| |\ \ \ \ \
| * | | | | | Next draft fix. This one appears to solve the problem, at least as demo'ddgp2012-06-181-46/+40
| | | | | | | | | | | | | | | | | | | | | by the test attached to Tcl Bug 3024359.
| * | | | | | More work in progress.dgp2012-06-131-38/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem with release of the elements of a fileSystemList by one routine while some other (caller) routine is still traversing that list is not dependent on threaded operations. An unthreaded build can still encounter the problem. Revised so that threaded/unthreaded operations are much closer to the same (no direct TCL_THREADS dependency). Also simplified the epoch checking which reduces locking to when it's needed. Still have the problem of returning as valid FilesystemRecords that are pulled from an outdated epoch.
| * | | | | | Convert function calls to macros.dgp2012-06-121-21/+31
| | | | | | |
| * | | | | | First draft patch to fix Bug 3024359. No reliable test yet.dgp2012-06-111-10/+90
| | | | | | |
* | | | | | | FilesystemRecord structs no longer need refcountingdgp2012-06-221-34/+10
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | |
| * | | | | | FilesystemRecord structs no longer need refcounting.dgp2012-06-221-34/+11
| | |_|_|/ / | |/| | | |
* | | | | | Revise the order of memory free, so that bugs that attempt to access freed ↵dgp2012-06-221-2/+11
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | memory are more likely to segfault and not remain hidden.
| * | | | | Revise the order of memory free, so that bugs that attempt to access freeddgp2012-06-221-2/+11
| | |_|/ / | |/| | | | | | | | memory are more likely to segfault and not remain hidden.
* | | | | Stop storing FilesystemRecord in the intrep of a "path". We never use it.dgp2012-06-211-26/+1
|\ \ \ \ \ | |/ / / / | | | | | Store the Tcl_Filesystem instead, which is what we actually need.
| * | | | Stop storing FilesystemRecord in the intrep of a "path". We never use it.dgp2012-06-211-26/+1
| | |/ / | |/| | | | | | Store the Tcl_Filesystem instead, which is what we actually need.
| | | |
| \ \ \
*-. \ \ \ Remove dead code that complicates fs path values but adds no value.dgp2012-06-201-9/+4
|\ \ \ \ \ | | |/ / /
| | * | | Purge more dead fs path code.dgp2012-06-201-4/+3
| | |\ \ \ | |/ / / / | | | | _
| | * | Purge more dead fs path code.dgp2012-06-201-17/+7
| | | |
| * | | Remove dead code that complicates fs path values but adds no value.dgp2012-06-201-6/+1
| |\ \ \ | | |/ / | | | / | | |/ | |/|
| | * ...and one more line.dgp2012-06-201-1/+0
| | |
| | * Remove dead code that complicates fs path values but adds no value.dgp2012-06-201-31/+10
| | |
| | * When using Tcl_SetObjLength() calls to grow and shrink the objPtr->bytes buffer,dgp2012-05-211-1/+1
| | | | | | | | | | | | | | | 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.
| | * make some more internal tables constjan.nijtmans2012-04-231-0/+1
| | | | | | | | | On cygwin, install dll's in /usr/bin, not in /usr/lib
| * | some formatting (*.decls)jan.nijtmans2012-04-041-0/+1
| |\ \ | | |/ | | | | | | | | | move up #undef, for macro which is conflicting with later stuff. remove some unused cygwin-related code some minor gcc warnings
| | * tclStubInit.c: move up #undef, so it is clear that thisjan.nijtmans2012-04-041-20/+0
| | | | | | | | | | | | macro is conflicting with another definition in this file. Fix some other gcc warnings
* | | minor comment formattingdkf2012-04-151-4/+9
| | |