summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixFile.c
Commit message (Collapse)AuthorAgeFilesLines
* ensure translated path is freedvincentdarley2003-10-311-1/+2
| | | FossilOrigin-Name: 414a62cb23ef267f915c018f31991483eb98d929
* backporting of filesystem tests, docsvincentdarley2003-10-031-4/+9
| | | FossilOrigin-Name: 9cc6cd11c033e2c40d3aba0f11cb4f1ce995b1cb
* glob -l on broken symlink fixvincentdarley2003-02-121-2/+14
| | | FossilOrigin-Name: be22ec9c7965c67002d4e998fc2b4e58fe9db82f
* * unix/tclUnixFile.c (TclpMatchInDirectory): simplify the hiddenhobbs2003-02-111-24/+14
| | | | | | file match check. FossilOrigin-Name: 5ac811df840c62d421c871c4dcd6c4fccc72a46b
* filesystem speed up round 2vincentdarley2003-02-101-58/+36
| | | FossilOrigin-Name: 1f9c0e4f03a1887a627fd66e6affceebf25f9519
* non-ascii chars in file mtime fixvincentdarley2003-01-091-1/+24
| | | FossilOrigin-Name: f53b3ba4dad59d84f37be2a959429127c30f8536
* * unix/tclUnixFile.c (TclpObjLink): removed unnecessary/unfreedhobbs2002-09-031-13/+4
| | | | | | extra native char*. FossilOrigin-Name: 231e743416c6052a1926ccfe709c96a496c28c6b
* vfs fixesvincentdarley2002-07-201-4/+8
| | | FossilOrigin-Name: 9e7220513241fca16eeedd8161a57e97868f395d
* Global symbols are now all either prefixed with 'tcl' (or 'Tcl' or ...) or ↵dkf2002-07-191-4/+2
| | | | | have file-scope. FossilOrigin-Name: 86e27ff753182370088914b09b67faefe53a8d37
* Changed all the Tcl_Platform* symbols to TclOS*; they weren't public so theirdkf2002-06-281-15/+15
| | | | | | names were really badly chosen. Also prevented a double-#def. FossilOrigin-Name: 049b4fa9e2b895d0b8b0426cc3ec95483f99fd29
* tip99vincentdarley2002-06-211-8/+23
| | | FossilOrigin-Name: e0671d6019fef310429006d7d45b2766e15c4dbc
* vfs, winfs testsuitevincentdarley2002-06-131-5/+9
| | | FossilOrigin-Name: 494e81b676070f623d387cd1d1104b404dba7803
* Made this file compile!dkf2002-06-121-2/+4
| | | FossilOrigin-Name: 0814d34f8df4970c923cb6bfdbfef3589d1d619e
* fs clarification and windows fixesvincentdarley2002-06-121-7/+19
| | | FossilOrigin-Name: cf698404c4b6fd12d867d791276e08b4ab471c11
* fix to 551306vincentdarley2002-05-021-1/+28
| | | FossilOrigin-Name: 34f2d6b9b0d26247061284641dd6ecddda35a5ca
* 4 fs fixesvincentdarley2002-03-241-196/+219
| | | FossilOrigin-Name: d33368661952a4384e657612e1b3b49a2bd6b278
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-151-25/+19
| | | | | | | This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode. FossilOrigin-Name: 8d82de1905ada4c5d06f5fb967721e8b681b7c82
* * djgpp/ (new directory)davygrvy2002-02-121-3/+12
| | | | | | | | | | | | | | | | | * djgpp/Makefile (new): * unix/tclAppInit.c: * unix/tclMtherr.c: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPort.h: Early stage of DJGPP support for building Tcl on DOS. Dynamic loading isn't working, yet. Requires watt32 for the TCP/IP stack. No autoconf, yet. Barely tested, but makes a working exe that runs Tcl in protected-mode, flat memory. [exec] and pipes will need the most work as multi-tasking on DOS has to be carefully. FossilOrigin-Name: 58a026b69c9d29a1332cd0f3a87386fdcf5f240f
* * Partial TIP 27 rollback. Following routinesdgp2002-02-081-5/+3
| | | | | | | | | | | | | | | restored to return (char *): Tcl_DStringAppend, Tcl_DStringAppendElement, Tcl_JoinPath, Tcl_TranslateFileName, Tcl_ExternalToUtfDString, Tcl_UtfToExternalDString, Tcl_UniCharToUtfDString, Tcl_GetCwd, Tcl_WinTCharToUtf. Also restored Tcl_WinUtfToTChar to return (TCHAR *) and Tcl_UtfToUniCharDString to return (Tcl_UniChar *). Modified some callers. This change recognizes that Tcl_DStrings are de-facto white-box objects. * generic/tclCmdMZ.c: corrected use of C++-style comment. FossilOrigin-Name: bb1a244cde9f05a5477cf5dd8e8ab44cd978459f
* * Updated interfaces of generic/tclEncoding, generic/tclFilename.c,dgp2002-01-251-7/+7
| | | | | | | | | | | | | generic/tclIOUtil.c, generic/tclPipe.c, generic/tclResult.c, generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according to TIP 27. Tcl_TranslateFileName rewritten as wrapper around VFS-aware version. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes source incompatibilities: argv arguments of Tcl_Concat, Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of Tcl_SplitList and Tcl_SplitPath. FossilOrigin-Name: fceed15544ad472b748cdf463c3b4005e83b5e8f
* * More TIP 27 updates in tclIOUtil.c and tclIndexObj.c that weredgp2002-01-171-5/+5
| | | | | | | | | overlooked before. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes a source incompatibility in the tablePtr arguments of the Tcl_GetIndexFromObj* routines. FossilOrigin-Name: 28b6020550dd9e62f46b824e4c2ba2a6302657f6
* Fix for bug 475941; access() was being called with path-free file names ondkf2001-10-291-5/+4
| | | | | | some paths through the glob code! FossilOrigin-Name: 436be4a498d009da65dab117b2294c6b70c7d4c5
* filesystemvincentdarley2001-08-301-136/+88
| | | FossilOrigin-Name: 63ee4e7a09d028fa707389d63a2bdc197a342ce1
* fs updatevincentdarley2001-08-231-49/+72
| | | FossilOrigin-Name: 37484c1daabf6ee673956b20a5839e2ba4d36684
* Changes from TIP#17 "Redo Tcl's filesystem"vincentdarley2001-07-311-136/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following files were impacted. * doc/Access.3: * doc/FileSystem.3: * doc/OpenFileChnl.3: * doc/file.n: * doc/glob.n: * generic/tcl.decls: * generic/tcl.h: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDate.c: * generic/tclDecls.h: * generic/tclEncoding.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclGetDate.y: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclIOUtil.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclLoad.c: * generic/tclStubInit.c: * generic/tclTest.c: * generic/tclUtil.c: * library/init.tcl: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacPort.h: * mac/tclMacResource.c: * mac/tclMacTime.c: * tests/cmdAH.test: * tests/event.test: * tests/fCmd.test: * tests/fileName.test: * tests/io.test: * tests/ioCmd.test: * tests/proc-old.test: * tests/registry.test: * tests/unixFCmd.test: * tests/winDde.test: * tests/winFCmd.test: * unix/mkLinks: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPipe.c: * win/tclWinFCmd.c: * win/tclWinFile.c: * win/tclWinInit.c: * win/tclWinPipe.c FossilOrigin-Name: 9461aca54800a289624dfe39d333e41e20168ac3
* * unix/tclUnixFile.c: fixed signature style on functionshobbs2000-01-111-16/+16
| | | | | | | | * unix/Makefile.in: made sure tcl.m4 would be installed with dist * unix/tcl.m4: added ELF support for NetBSD [Bug: 3959] FossilOrigin-Name: 341792a1e80465bc745c10180dd11adc3a65bcd0
* removed \n in panichobbs1999-12-131-2/+2
| | | FossilOrigin-Name: 5a0cc2375696ad413ec1246f12aa217386e24b6b
* * doc/glob.n:hobbs1999-12-121-19/+117
| | | | | | | | | | | | | | | | | | * tests/fileName.test: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclEncoding.c: * generic/tclFileName.c: * mac/tclMacFile.c: * unix/tclUnixFile.c: * win/tclWinFile.c: enhanced the glob command with the new options -types -path -directory and -join. Deprecated TclpMatchFiles with TclpMatchFilesTypes, extended TclGlob and TclDoGlob and added GlobTypeData structure. FossilOrigin-Name: c20c742c78c750b08e303e5277f5e5800cd9f65b
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-295/+308
| | | FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
* Merged stubs changes into mainline for 8.0stanton1999-03-101-2/+50
| | | FossilOrigin-Name: 19696933517612024e7dbcfee6e3c8d3b4e41772
* Replaced SCCS strings, fixed binary filescore-8-0-3stanton1998-09-141-1/+1
| | | FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
* fixed behavior of Tcl_FindExecutable on null path elementsstanton1998-06-171-1/+10
| | | FossilOrigin-Name: b783c6266ccb7fed45f401accc012c835c5d669e
* Changed call ref's of 'stat(...)' to 'TclStat(...)' and 'access(...)' tosuresh1998-05-201-4/+4
| | | | | | 'TclAccess(...)'. FossilOrigin-Name: 8b6899e9e320f5ee3fa0253e7f8728e57d988ec3
* Initial revisionrjohnson1998-03-261-0/+528
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a