Description: |
If tcl is started on a networked drive and you choose to have it available offline
using 'Windows 7/10 Offline Files' feature and then run it offline (after being
fully synchronized) the following commands return always '0':
file readable
file writable
Other file commands, e.g. file exists, or opening the files work.
If online again the commands return '1' as expected.
|
User Comments: |
oehhar added on 2017-06-14 07:06:08:
(text/x-fossil-wiki)
Dear Harald,
thank you for the report.
On the practical side, *file readable* and *file writable* are at the moment not usable under windows due to bugs.
And you have found another one.
Here are links to the issues:
Ticket [1613456fffffffff]
Wiki page: [http://wiki.tcl.tk/10081]
The only reliable way is to use *file exists* and if you really want to know if it is readable, use *open*.
Any fix or clue welcome.
Thank you,
Harald
|