Overview
| Artifact ID: | ecdf3d23e53b0165b3a35fc5ae811bb2e45fd106 |
|---|---|
| Ticket: | 3608360fffffffffffffffffffffffffffffffff
Incompatible behaviour of "file exists" |
| User & Date: | dkf on 2013-03-18 16:59:07 |
Changes
- assignee changed to: "nijtmans"
- icomment:
Definitely a problem in implementation of NativeAccess() in tclWinFile.c (the generic layers over that do the right thing) but I really don't know the relevant API. Is this related to 2893771? (Committed on 2009-11-24 in https://core.tcl.tk/tcl/info/02224b9ef68c so it fits with being an 8.6.* issue.) We're feeding a filename into FindFirstFile which is the directory entry enumerator, which in turn is the only thing that can do that sort of thing with a glob patter AIUI. My knowledge of the deep ins-and-outs of Win32 is too small for me to go further. Assigning to someone who knows more about the relevant bits than me. Perhaps just testing for glob metacharacters in the name would be enough? I vaguely remember them as being always forbidden in filenames...
- login: "dkf"
- mimetype: "text/plain"
- priority changed to: "8"
- username: "dkf"