summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
Commit message (Collapse)AuthorAgeFilesLines
...
| | * reverted file norm .. fixes because 8.5 had much more extensive changes ↵hobbs2004-02-181-222/+85
| | | | | | | | | | | | across the board
| | * * generic/tclIOUtil.c: backport of rewrite of generic filehobbs2004-02-181-85/+222
| | | | | | | | | | | | | | | normalization code to cope with links followed by '..'. [Bug 849514], and parts of [859251]
| | * vfs code tclfinalizefilesystem fixvincentdarley2004-01-091-3/+3
| | |
| | * Merged fixes for Tcl Bug #839519 and Tcl Bug #861515.vasiljevic2003-12-171-11/+14
| | | | | | | | | | | | Those are already applied to the head.
| | * fix to 'cd' infinite recursion bug on Windowsvincentdarley2003-11-201-5/+12
| | |
| | * * generic/tclIOUtil.c (FsListMounts, FsAddMountsToGlobResult): Newandreas_kupries2003-10-221-2/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functions. See below for context. (Tcl_FSMatchInDirectory): Modified to call on the new functions (above) to handle the mountpoints in the glob'bed directory correctly. Part of the patch by Vincent Darly to solve the [Bug 800106] for the 8.4.x series. * generic/tcl.h (TCL_GLOB_TYPE_MOUNT): New definition. Part of the patch by Vincent Darly to solve [Bug 800106] for the 8.4.x series.
| | * filesystem bug fixes: volumerelative normalization, file join inconsistencyvincentdarley2003-10-061-34/+58
| | |
| | * backporting of filesystem tests, docsvincentdarley2003-10-031-11/+79
| | |
| | * Backported fix from HEAD for Bug 788780vasiljevic2003-09-011-3/+3
| | |
| | * * generic/tclIOUtil.c: correct MT-safety issues with filesystemhobbs2003-07-181-179/+237
| | | | | | | | | | | | records. [Bug 753315] (vasiljevic)
| | * 2003-07-16 Mumit Khan <khan@nanotech.wisc.edu>hobbs2003-07-171-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | * 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/tclFileName.c (Tcl_GlobObjCmd): [Bug 771840]dgp2003-07-161-19/+1
| | | | | | | | | | | | | | | | | | * generic/tclIOUtil.c (Tcl_FSConvertToPathType):[Bug 771947] * unix/tclUnixFCmd.c (GetModeFromPermString): [Bug 771949] Silence compiler warnings about unreached lines.
| | * * generic/tclIOUtil.c: add decl for FsThrExitProc to suppresshobbs2003-05-131-2/+2
| | | | | | | | | | | | warnings.
| | * * generic/tclIOUtil.c: ensure cd is thread-safe.hobbs2003-05-111-68/+102
| | | | | | | | | | | | [Bug #710642] (vasiljevic)
| | * filesystem fixes backportedvincentdarley2003-04-141-1921/+2046
| | |
| | * Fixes for three filesystem problemsvincentdarley2003-03-181-1/+3
| | |
| * | Backport blkcnt_t detection/usage.stwo2010-09-061-1/+5
| | |
| * | [Bug 942170]: Detect the st_blocks field of 'struct stat' correctly.dkf2009-12-281-25/+18
| | |
| * | Fixed [Bug 2269431]: load of shared objectsnijtmans2008-11-141-11/+5
| | | | | | | | | | | | leaves emporary files on windows
* | | * generic/tclOOMethod.c (ProcedureMethodCompiledVarConnect):hobbs2010-09-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclVar.c (TclLookupSimpleVar, CompareVarKeys): * generic/tclPathObj.c (Tcl_FSGetNormalizedPath, Tcl_FSEqualPaths): * generic/tclExecute.c (TclExecuteByteCode): * generic/tclIOUtil.c (TclFSCwdPointerEquals): peephole opt * generic/tclResult.c (TclMergeReturnOptions): use memcmp where applicable as possible speedup on some libc variants.
* | | [Patch #2994165] Change signature of Tcl_FSGetNativePath and TclpDeleteFilenijtmans2010-08-141-2/+2
| | |
* | | [Bug 2992292]: tclIOUtil.c assignment type mismatch compiler warningnijtmans2010-04-271-4/+4
| | |
* | | Move TCHAR fallback typedef from tcl.h to tclPlatDecls.h (as suggested by dgp)nijtmans2010-04-221-2/+2
| | | | | | | | | | | | Eliminate various unnecessary type casts.
* | | Minor changes to enforce Engineering Manual style rules.dkf2010-04-041-65/+74
| | |
* | | Add missing "const" in signature,nijtmans2010-04-021-2/+2
| | | | | | | | | | | | and some formatting fixes
* | | * generic/tclIOUtil.c (Tcl_LoadFile): Corrections to previous commitdkf2010-04-021-2/+1
| | | | | | | | | | | | | | | * unix/tclLoadDyld.c (TclpDlopen): to make it build on OSX. Also add missing ChangeLog entry for previous commit by KBK.
* | | * generic/tcl.decls: [TIP #357]: First round of changesKevin B Kenny2010-04-021-71/+239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: to export Tcl_LoadFile, Tcl_FindSymbol, * generic/tclIOUtil.c: and Tcl_FSUnloadFile to the public API. * generic/tclInt.h: * generic/tclLoad.c: * generic/tclLoadNone.c: * generic/tclStubInit.c: * tests/fileSystem.test: * tests/load.test: * tests/unload.test: * unix/tclLoadDl.c: * unix/tclLoadDyld.c: * unix/tclLoadNext.c: * unix/tclLoadOSF.c: * unix/tclLoadShl.c: * unix/tclUnixPipe.c: * win/Makefile.in: * win/tclWinLoad.c:
* | | Remove unnecessary '&' decoration for functionnijtmans2010-03-111-29/+29
| | | | | | | | | | | | | | | pointers. Fix double declaration of TclNativeDupInternalRep
* | | Code Audit results:dkf2010-03-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | Pure whitespace changes, changing to follow Engineering Manual style.dkf2010-02-241-3/+3
| | |
* | | Do not assume that all unix systems have the POSIX blkcnt_t type, since OpenBSDdkf2010-02-161-1/+5
| | | | | | | | | | | | apparently does not.
* | | [Bug 942170]: Detect the st_blocks field of 'struct stat' correctly.dkf2009-12-281-20/+12
| | |
* | | Eliminate various gcc warnings (in -Wextra mode)nijtmans2009-11-181-1/+2
| | |
* | | * generic/tclBinary.c: Removed unused variables.dgp2009-07-161-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdIL.c: * generic/tclCompile.c: * generic/tclExecute.c: * generic/tclHash.c: * generic/tclIOUtil.c: * generic/tclVar.c: * generic/tclBasic.c: Silence compiler warnings about ClientData. * generic/tclProc.c: * generic/tclScan.c: Typo in ACCEPT_NAN configuration. * generic/tclStrToD.c: Set floating point control register on MIPS systems so that the gradual underflow expected by Tcl is in effect. [Bug 2819200]
* | | - eliminate some unnessary type castsnijtmans2009-02-101-10/+10
| | | | | | | | | | | | | | | - some internal const decorations - spacing
* | | Formatting improvements (comments, whitespace)dkf2009-01-061-28/+32
| | |
* | | Make [source] NRE-aware to enable [yield]. [Bug 2412068]dkf2009-01-051-3/+133
| | |
* | | TIP #336 IMPLEMENTATIONdgp2008-12-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.decls: New routines Tcl_(Get|Set)ErrorLine. * generic/tcl.h: Dropped default access to interp->errorLine. * generic/tclCmdAH.c: Restore it with -DUSE_INTERP_ERRORLINE. * generic/tclCmdMZ.c: Updated callers. * generic/tclDictObj.c: * generic/tclIOUtil.c: * generic/tclNamesp.c: * generic/tclOOBasic.c: * generic/tclOODefinedCmds.c: * generic/tclOOMethod.c: * generic/tclProc.c: * generic/tclResult.c: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
* | | rename static function FSUnloadTempFile tonijtmans2008-11-131-11/+5
| | | | | | | | | | | | | | | | | | TclFSUnloadTempFile, needed in tclLoad.c Fixed [Bug 2269431]: load of shared objects leaves temporary files on windows
* | | * doc/FileSystem.3: CONSTified Tcl_FSFileAttrStringsProcnijtmans2008-10-051-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ***
* | | remove outdated commentdgp2008-09-301-14/+1
| | |
* | | Stylistic improvements (consistent function separation standards, etc.) anddkf2008-09-271-324/+320
| | | | | | | | | | | | some reduction in nesting in functions.
* | | * doc/FileSystem.3: CONSTified many functions using Tcl_FileSystemnijtmans2008-07-281-82/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.decls: which all are supposed to be a constant, but * generic/tclDecls.h: this was not reflected in the API: * generic/tclFileSystem.h: Tcl_FSGetInternalRep * generic/tclIOUtil.c: Tcl_FSNewNativePath, Tcl_FSData * generic/tclPathObj.c: Tcl_FSRegister, Tcl_FSUnregister * generic/tclTest.c: Tcl_FSGetFileSystemForPath ... This change complies with TIP #24. ***POTENTIAL INCOMPATIBILITY***
* | | More elimination of pre-C89-isms.dkf2008-05-021-364/+353
| | |
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-2/+2
| | |
* | | * generic/tclIOUtil.c: Removed all code delimited bydgp2008-04-211-491/+1
|/ / | | | | | | | | | | | | | | | | * generic/tclTest.c: USE_OBSOLETE_FS_HOOKS, completing * tests/ioCmd.test: the deprecation path for these * tests/ioUtil.test (removed): obsolete interfaces. (Code was active in Tcl 8.4, present but enabled only by customized compile switch in Tcl 8.5, and now completely gone for Tcl 8.6). Also removed all tests relevant only to the removed interfaces.
* | Remove dead/unused portability-related #defines and unused conditional code.jenglish2008-02-271-7/+2
| | | | | | | | See SF#1901828 for discussion and archaeological notes.
* | Reconcile coding style issues between branchesdgp2008-01-231-10/+8
| |
* | * generic/tclIOUtil.c (FsAddMountsToGlobResult): fix the tailhobbs2007-12-141-6/+7
| | | | | | | | conversion of vfs mounts. [Bug 1602539]
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |