rmyorston / busybox-w32

WIN32 native port of BusyBox.
https://frippery.org/busybox
Other
694 stars 126 forks source link

broken symlinks break `ls` #333

Closed Un1q32 closed 1 year ago

Un1q32 commented 1 year ago

broken symlinks will produce a No such file or directory error when listing a directory with one

to reproduce

mkdir testdir
ln -s /doesntexist
ls

error: ls: ./doesntexist: No such file or directory

rmyorston commented 1 year ago

No, I don't see the problem.

ls -L reports "No such file or directory" but not ls.

Un1q32 commented 1 year ago

oh i didnt realize that was normal behavior