Artifacts Associated With Ticket 2974459
Ticket change [91aae32680] (rid 120657) by mikehedge on 2010-03-22 10:14:55:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The file readable command correctly reports files on Windows (XP Professional 2002/SP2) mapped drives as readable when reading is possible: % file exists r:\mydirectory\test.txt 1 % file readable r:\mydirectory\test.txt 1 % set chid [open r:\mydirectory\test.txt] filef0ca80 % set contents [read $chid] record 1 of 2 of test file test.txt record 2 of 2 of test file test.txt % close $chid However, if the file is now made off-line, effectively making a local copy, and the connection to the mapped drive removed, the (local) file still exists and is readable but file readable reports it is not (0): % file exists r:\mydirectory\test.txt 1 % file readable r:\mydirectory\test.txt 0<-- incorrect response % set chid [open r:\mydirectory\test.txt] fileefd600 % set contents [read $chid] record 1 of 2 of test file test.txt record 2 of 2 of test file test.txt % close $chid
- foundin initialized to: "obsolete: 8.5.8"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "mikehedge"
- subsystem initialized to: "16. Commands A-H"
- title initialized to:
file readable reports Windows off-line files as unreadable
- type initialized to: "Bug"
Ticket change [695b350653] (rid 103234) by dkf on 2010-03-22 20:25:56:
- assignee changed to: "vincentdarley"
- subsystem changed to: "37. File System"
Ticket change [9e6d71797b] (rid 96471) by dkf on 2010-03-22 20:26:25:
- icomment:
(issue is in/below Tcl_FSAccess)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [23e98b3a92] (rid 131019) by dgp on 2012-01-14 01:26:39:
- icomment:
The branch 'fix-win-native-access' includes a patch that may fix the bug reported here. http://core.tcl.tk/tcl/info/0aabf0529e I'm not equipped to test the effectiveness of the patch, or whether it introduces any new test failures or other problems. I'd be grateful if folks who can and who are intersted in this bug and related bugs could do so, and report back whether the patch is suitable for merging into the release branches.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [59b889a2cc] (rid 118014) by dgp on 2012-02-03 00:41:17:
- closedate changed to: "2012-02-02T17:41:17"
- closer changed to: "dgp"
- icomment:
Patch from fix-win-native-access branch committed for 8.4.20, 8.5.12, and 8.6b3. Continued testing strongly encouraged. In particular, the #define UNICODE variant of the trunk is likely to have some lingering problems.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Pending"
- username: "dgp"
Ticket change [bd9d68bb2c] (rid 134185) by dkf on 2013-09-24 22:05:05:
- assignee changed to: "aku"
- closedate changed to: "2456560.42020468"
- closer changed to: "dkf"
- comment changed to:
The file readable command correctly reports files on Windows (XP Professional 2002/SP2) mapped drives as readable when reading is possible: % file exists r:\mydirectory\test.txt 1 % file readable r:\mydirectory\test.txt 1 % set chid [open r:\mydirectory\test.txt] filef0ca80 % set contents [read $chid] record 1 of 2 of test file test.txt record 2 of 2 of test file test.txt % close $chid However, if the file is now made off-line, effectively making a local copy, and the connection to the mapped drive removed, the (local) file still exists and is readable but file readable reports it is not (0): % file exists r:\mydirectory\test.txt 1 % file readable r:\mydirectory\test.txt 0<-- incorrect response % set chid [open r:\mydirectory\test.txt] fileefd600 % set contents [read $chid] record 1 of 2 of test file test.txt record 2 of 2 of test file test.txt % close $chid
- login: "dkf"
- mimetype: "text/plain"
- severity changed to: "Minor"
- status changed to: "Closed"