summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate a lot of dead code (for Windows 95/98/ME only). jan.nijtmans2013-06-191-312/+152
| | | Eliminate all usage of TclWinSetInterfaces(), which does exactly the same as TclpSetInterfaces(), but keep exported symbol and stub entry.
* Better place to put vsnprintf switch, so it is usable by all *.c files. jan.nijtmans2013-06-181-4/+0
| | | Fix comment on _ANSI_ARGS_ which is no longer true since 8.6.
* Fix [42b8083613]jan.nijtmans2013-06-171-0/+4
|
* Silence various warnings when doing a 64-bit build with MSVC: Those warnings ↵jan.nijtmans2013-06-121-1/+1
|\ | | | | | | | | can only _really_ be fixed in "novem" (so, don't silence them there). Use vsnprintf (more portable) in stead of _vsnprintf, except on MSVC
* \ Slightly more correct: If FindFirstFile() fails, the error should be "no ↵jan.nijtmans2013-03-201-1/+1
|\ \ | |/ | | | | such file or directory" (ENOENT) not "permission denied" (EACCES).
| * Slightly more correct: If FindFirstFile() fails, the error should be "no ↵jan.nijtmans2013-03-201-1/+1
| |\ | | | | | | | | | such file or directory" (ENOENT) not "permission denied" (EACCES).
| | * Slightly more correct: If FindFirstFile() fails, the error should be "no ↵jan.nijtmans2013-03-201-1/+1
| | | | | | | | | | | | such file or directory" (ENOENT) not "permission denied" (EACCES).
* | | Handle the (unlikely) case that the file is deleted in between. Suggested by ↵jan.nijtmans2013-03-191-0/+4
|\ \ \ | |/ / | | | | | | Harald Oehlmann (Thanks!)
| * | Handle the (unlikely) case that the file is deleted in between. Suggested by ↵jan.nijtmans2013-03-191-0/+4
| |\ \ | | |/ | | | | | | Harald Oehlmann (Thanks!)
| | * Handle the (unlikely) case that the file is deleted in between. Suggested by ↵jan.nijtmans2013-03-191-0/+4
| | | | | | | | | | | | Harald Oehlmann (Thanks!)
* | | [Bug 3608360]: Incompatible behaviour of "file exists".jan.nijtmans2013-03-191-5/+17
|\ \ \ | |/ /
| * | [Bug 2893771]: file stat fails on locked files on win32.jan.nijtmans2013-03-191-5/+17
| |\ \ | | |/
| | * make sure that [file stat] returns the right data, even for locked files.jan.nijtmans2013-03-191-0/+6
| | |
| | * [Bug 2893771]: file stat fails on locked files on win32.jan.nijtmans2013-03-191-5/+11
| | |
* | | Back out bug fix for [Bug 2893771], because it was the cause of the regression.jan.nijtmans2013-03-191-24/+5
| | |
* | | 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
| | |
* | | [Bug 3603434] Make sure TclpObjNormalizePath() properly declares "a:/" todgp2013-02-051-0/+12
|\ \ \ | |/ / | | | be normalized, even when no "A:" drive is present on the system.
| * | [Bug 3603434] Make sure TclpObjNormalizePath() properly declares "a:/" todgp2013-02-051-0/+12
| |\ \ | | |/ | | | be normalized, even when no "A:" drive is present on the system.
| | * Fix for Bug 3603434.bug_3603434dgp2013-02-051-0/+12
| | |
| | * Backported [Bug 2882342]: correct struct _REPARSE_DATA_BUFFER in tcl 8.4jan.nijtmans2013-01-091-15/+16
| | |
* | | revert [8abba84224], and make sure that every source file that uses ↵jan.nijtmans2013-01-171-1/+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-1/+1
| | | | | | | | | | | | Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
* | | [Bug 3092089]: [file normalize] can remove path components.jan.nijtmans2013-01-081-5/+6
|\ \ \ | |/ / | | | [Bug 3587096] win vista/7: "can't find init.tcl" when called via junction.
| * | [Bug 3092089]: [file normalize] can remove path components.jan.nijtmans2013-01-081-5/+6
| |\ \ | | |/ | | | [Bug 3587096] win vista/7: "can't find init.tcl" when called via junction.
| | * [Bug 3092089]: [file normalize] can remove path components.jan.nijtmans2013-01-081-5/+6
| | |\ | | | | | | | | [Bug 3587096] win vista/7: "can't find init.tcl" when called via junction.
| | | * new attempt for better fixbug_3092089jan.nijtmans2013-01-081-11/+6
| | | |
| | | * suggested fix for Bug 3092089: [file normalize] can remove path component, jan.nijtmans2013-01-031-0/+6
| | |/ | |/| | | | and for Bug 3587096: startup error message when exe in folder with junction with limited rights
| | * tclStubInit.c: move up #undef, so it is clear that thisjan.nijtmans2012-04-041-3/+3
| | | | | | | | | | | | macro is conflicting with another definition in this file. Fix some other gcc warnings
| | * [Bug 3288345] Wrong Tcl_StatBuf used on Cygwinjan.nijtmans2012-03-201-60/+0
| | | | | | | | | (backported from Tcl 8.5)
* | | eliminate unnecessary TEXT() macrosjan.nijtmans2012-09-231-1/+1
| | |
* | | Final part of result generation conversion (modulo any minor blunders)dkf2012-08-051-6/+6
| | |
* | | Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-7/+7
| | |
* | | Restored the possibility to define a panicproc asjan.nijtmans2012-06-221-0/+10
| | | | | | | | | low memory handler See: [#1446864]
* | | * generic/tclUtil.c (TclDStringToObj): Added internal function to makedkf2012-04-251-5/+1
| | | | | | | | | | | | the fairly-common operation of converting a DString into an Obj a more efficient one.
* | | [Bug 3288345] Wrong Tcl_StatBuf used on Cygwinjan.nijtmans2012-03-151-62/+0
|\ \ \ | |/ /
| * | xjan.nijtmans2012-03-151-62/+0
| | |
* | | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2012-03-121-2/+2
|\ \ \ | |/ /
| * | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2012-03-121-2/+2
| |\ \ | | |/
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2012-03-121-2/+2
| | |
| | * 2974459,2879351,1951574,1852572,1661378,1613456 Revisions to the NativeAccess()dgp2012-02-021-24/+46
| | |\ | | |/ | |/| | | | | | | | | | routine that queries file permissions on Windows native filesystems. Meant to fix numerous bugs where [file writable|readable|executable] "lies" about what operations are possible, especially when the file resides on a Samba share. Patch cherrypicked off the fix-win-native-access branch.
* | | inverted logicdgp2012-02-021-1/+1
| | |
* | | 2974459,2879351,1951574,1852572,1661378,1613456 Revisions to the NativeAccess()dgp2012-02-021-25/+47
|\ \ \ | |/ / | | | | | | | | | routine that queries file permissions on Windows native filesystems. Meant to fix numerous bugs where [file writable|readable|executable] "lies" about what operations are possible, especially when the file resides on a Samba share.
| * | merge to bugfix branchdgp2012-01-241-4/+0
| |\ \
| * | | Contributed patch aiming to fix [file writable] problems on Windows & Samba.dgp2012-01-111-20/+45
| |/ /
* | | [Bug 2935503] Windows: file mtime sets wrong time (VS2005+ only)jan.nijtmans2011-11-221-3/+0
|\ \ \ | |/ /
| * | [Bug 2935503] Windows: file mtime sets wrong time (VS2005+ only)jan.nijtmans2011-11-221-3/+0
| |\ \ | | |/
| | * [Bug 2935503]: Windows: file mtime sets wrong timejan.nijtmans2011-11-221-0/+1
| | |
* | | [Bug 2935503] Incorrect mode field returned by file stat commandjan.nijtmans2011-10-111-3/+3
|\ \ \ | |/ /
| * | [Bug 2935503] Incorrect mode field returned by file stat commandjan.nijtmans2011-10-111-3/+3
| |\ \ | | |/