You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In these implementations, followp is not used at all for Win32. This looks wrong, because Windows supports symbolic links similar enough to POSIX. There is no reason to keep the inconsistent behaviors. Further, the behavior is also not the default of POSIX, due to the fact that GetFileAttributesExW does not follow links (i.e. it is more like lstat but not stat). These gliches are not documented.
The text was updated successfully, but these errors were encountered:
On Windows 11, I used mklink to create a symbolic link from foo.ss to bar.ss. In Chez Scheme 9.5.8, (file-exists? "bar.ss") returned #t. However, (load "bar.ss") failed with "no such file or directory".
This means that GetFileAttributesExW is following the link, but whatever Chez Scheme calls to open the file is not.
Do you know how to modify S_file_existsp to use followp on Windows?
ChezScheme/c/io.c
Lines 127 to 195 in c048ad8
In these implementations,
followp
is not used at all for Win32. This looks wrong, because Windows supports symbolic links similar enough to POSIX. There is no reason to keep the inconsistent behaviors. Further, the behavior is also not the default of POSIX, due to the fact thatGetFileAttributesExW
does not follow links (i.e. it is more likelstat
but notstat
). These gliches are not documented.The text was updated successfully, but these errors were encountered: