<i>VFS support causes infinite recursion during 'file exists' if working directory has been removed</i> status still Open with 4 other changes
by
.
D 2023-04-25T14:33:54.181
J icomment Julien,\r\n\r\nthanks\sfor\sthe\sbug\sreport.\r\nWhy\sis\sthis\srelated\sto\svfs?\sThe\sissue\sonly\shappens\swith\sthe\spackage\srequire\svfs?\sBut\syou\sonly\swork\son\sreal\sfiles,\sdo\syou?\r\n\r\nOn\s\sTCL8.6.13\s32bit\son\sWindows\s10\s64\sbit,\sthe\sexample\sdoes\snot\swork,\sas\sone\smay\snot\sdelete\sthe\sworking\sdirectory.\sBy\sadding\s"-force"\sto\sdelete,\sit\sworks.\sBut\sthe\spwd\sis\sadjusted,\sto\spoint\sto\sa\spresent\sfolder.\r\n\r\nHere\sis\san\sinteractive\ssession:\r\n\r\n<verbatim>\r\n%\sset\stestdir\sdirectory_for_testing_will_be_deleted\r\ndirectory_for_testing_will_be_deleted\r\n%\sset\stestdir_abs\s[file\sjoin\s[pwd]\s$testdir]\r\nC:/myprograms/tcl8.6/bin/directory_for_testing_will_be_deleted\r\n%\sfile\smkdir\s$testdir\r\n%\scd\s$testdir\r\n%\spwd\r\nC:/myprograms/tcl8.6/bin/directory_for_testing_will_be_deleted\r\n%\sfile\sdelete\s-force\s$testdir_abs\r\n%\spwd\r\nC:/myprograms/tcl8.6/bin\r\n%\sfile\sexists\s.\r\n1\r\n</verbatim>\r\n\r\nMaybe,\syou\salso\spost\sthe\soutput\sof\syour\sprogram.\r\n\r\nTake\scare,\r\nHarald
J login oehhar
J mimetype text/x-fossil-wiki
J username oehhar
K 4d3f2130292dbfe33977659c2afe98c7bb86b668
U oehhar
Z 3369ef80628e58fd5d07ac0966070200