summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | 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
| | |
* | | Remove some low-value C stack frames.dkf2012-04-151-4/+9
| | |
* | | oops, that's no utf-8 BOM ;-(jan.nijtmans2012-02-291-2/+2
|\ \ \ | |/ /
| * | oops, that's no utf-8 BOM ;-(jan.nijtmans2012-02-291-1/+1
| |\ \ | | |/
| | * oops, that's no utf-8 BOM ;-(jan.nijtmans2012-02-291-1/+1
| | |
* | | [Bug 3466099] BOM in Unicodejan.nijtmans2012-02-291-2/+34
|\ \ \ | |/ /
| * | [Bug 3466099] BOM in Unicodejan.nijtmans2012-02-291-1/+16
| |\ \ | | |/
| | * [Bug 3466099] BOM in Unicodejan.nijtmans2012-02-291-4/+18
| | |\
| | | * [Bug 3466099] BOM in Unicodejan.nijtmans2012-02-191-4/+12
| | |/
| | * [Bug 2935503]: Windows: file mtime sets wrong timejan.nijtmans2011-11-221-0/+5
| | |
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-0/+1
| | | | | | | | | | | | n mingw, sys/stat.h must be included before winsock2.h, so make sure of that
| | * fix for [Bug 3288345]: Wrong Tcl_StatBuf used on MinGW. Follow-up: get it ↵jan2011-04-201-1/+1
| | | | | | | | | | | | right for cygwin and WIN64 as well.
* | | [Bug 2233954] AIX: compile error, but don't do that for _WIN32 (doesn't work ↵jan.nijtmans2012-02-171-1/+1
|\ \ \ | |/ / | | | | | | in VS10)
| * | [Bug 2233954] AIX: compile error, but don't do that for _WIN32 (doesn't work ↵jan.nijtmans2012-02-171-1/+1
| | | | | | | | | | | | in VS10)
* | | [Bug 2233954] AIX: compile errorjan.nijtmans2012-02-161-0/+3
|\ \ \ | |/ /
| * | [Bug 2233954] AIX: compile errorjan.nijtmans2012-02-161-0/+3
| | |
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-19/+17
| | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ \ | |/ / | | | cause more harm than good. Purged them (except in zlib files).
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ \ | | |/ | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * * generic/tclPathObj.c: Fixed mistaken logic in TclFSGetPathType()dgp2009-02-201-1/+10
| | | | | | | | | | | | | | | | | | * tests/fileName.test: that assumed (not "absolute" => "relative"). This is a false assumption on Windows, where "volumerelative" is another possibility. [Bug 2571597].
| | * * generic/tclIOUtil.c (Tcl_FSGetNormalizedPath): Added anotherdgp2008-12-041-11/+78
| | | | | | | | | | | | | | | flag value TCLPATH_NEEDNORM to mark those intreps which need more complete normalization attention for correct results. [Bug 2385549]
| | * * generic/tclIOUtil.c: Plug memory leak in latest commit. Thanksdgp2008-06-281-3/+8
| | | | | | | | | | | | Rolf Ade for detecting and Dan Steffen for the fix [Bug 2004654].
| | * formattingdgp2008-06-231-2/+2
| | |
| | * * generic/tclIOUtil.c: Fixed bug in Tcl_GetTranslatedPath() whendgp2008-06-231-2/+11
| | | | | | | | | | | | | | | | | | | | | operating on the "Special path" variant of the "path" Tcl_ObjType intrep. A full normalization was getting done, in particular, coercing relative paths to absolute, contrary to what the function of producing the "translated path" is supposed to do. [Bug 1972879].
| | * * generic/tclIOUtil.c (TclGetOpenMode): Only set the O_APPEND flaghobbs2007-12-141-2/+6
| | | | | | | | | | | | | | | * tests/ioUtil.test (ioUtil-4.1): on a channel for the 'a' mode and not for 'a+'. [Bug 1773127] (backport from HEAD)
| | * (Tcl_FSEvalFile): safe incr of objPtr refhobbs2007-02-191-1/+2
| | |
| | * * generic/tclBasic.c: TIP #280 implementation, conditional on the define ↵andreas_kupries2006-11-281-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TCL_TIP280. * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclProc.c: * tests/compile.test: * tests/info.test: * tests/platform.test: * tests/safe.test:
| | * * generic/tclIOUtil.c: Cleaned up some code flagged by adgp2006-10-171-12/+11
| | | | | | | | | | | | | | | | | | * generic/tclInt.h: `make checkexports` test. * win/tclWin32Dll.c: * win/tclWinFile.c:
| | * * win/tclWinFCmd.c: [Bug 1548263] Added test for NULL returnhobbs2006-08-301-3/+8
| | | | | | | | | | | | | | | * generic/tclIOUtil.c: from Tcl_FSGetNormalizedPath which was causing segv's
| | * * generic/tclIOUtil.c: Revisions to complete the thread finalizationdgp2006-08-211-1/+3
| | | | | | | | | | | | of the cwdPathPtr. [Bug 1536142]
| | * * generic/tclIOUtil.c: fix to nativeFilesystemRecord comparisonsdas2006-03-281-6/+6
| | | | | | | | | | | | (lesser part of [Bug 1064247])
| | * typo in commentdas2006-03-281-2/+2
| | |
| | * * generic/tclIOUtil.c (TclGetOpenMode): Added the flag O_APPEND toandreas_kupries2006-03-161-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | the list of POSIX modes used when opening a file for 'a'ppend. This enables the proper automatic seek-to-end-on-write by the OS. See [Bug 680143] for longer discussion. * tests/ioCmd.test (iocmd-13.7.*): Extended the testsuite to check the new handling of 'a'.
| | * * generic/tclIO.c: Made several routines tolerant ofdgp2006-02-151-2/+4
| | | | | | | | | | | | * generic/tclIOUtil.c: interp == NULL arguments. [Bug 1380662]
| | * Fixed potential overwriting of already freed memoryvasiljevic2006-01-121-3/+7
| | | | | | | | | | | | | | | which caused all kinds of (rare but reproducible) coredumps all over the place.