Overview
| Artifact ID: | 5d4ec96fe8f65f17f061805c444b638bc69ee1240983bb0d828026cef614deae |
|---|---|
| Ticket: | 4d3f2130292dbfe33977659c2afe98c7bb86b668
VFS support causes infinite recursion during 'file exists' if working directory has been removed |
| User & Date: | oehhar on 2023-04-25 14:33:54 |
Changes
- icomment:
Julien, thanks for the bug report. Why is this related to vfs? The issue only happens with the package require vfs? But you only work on real files, do you? On TCL8.6.13 32bit on Windows 10 64 bit, the example does not work, as one may not delete the working directory. By adding "-force" to delete, it works. But the pwd is adjusted, to point to a present folder. Here is an interactive session: <verbatim> % set testdir directory_for_testing_will_be_deleted directory_for_testing_will_be_deleted % set testdir_abs [file join [pwd] $testdir] C:/myprograms/tcl8.6/bin/directory_for_testing_will_be_deleted % file mkdir $testdir % cd $testdir % pwd C:/myprograms/tcl8.6/bin/directory_for_testing_will_be_deleted % file delete -force $testdir_abs % pwd C:/myprograms/tcl8.6/bin % file exists . 1 </verbatim> Maybe, you also post the output of your program. Take care, Harald
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"