mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-25 13:27:33 +00:00
108a402dbd
Fixes #134, a bug that showed symlinks incorrectly as broken, but only when the file was listed directly on the command-line *and* the file was in a different directory to the one exa was being run in. I’m not sure why the old code used `String::new()`, but it doesn’t seem to affect anything.
676 B
676 B
/testcases/links/broken -> nowhere
/testcases/links/current_dir -> .
/testcases/links/forbidden -> /proc/1/root
/testcases/links/itself -> itself
/testcases/links/parent_dir -> ..
/testcases/links/root -> /
/testcases/links/some_file
/testcases/links/some_file_absolute -> /testcases/links/some_file
/testcases/links/some_file_relative -> some_file
/testcases/links/usr -> /usr
/testcases/links/current_dir -> .
/testcases/links/forbidden -> /proc/1/root
/testcases/links/itself -> itself
/testcases/links/parent_dir -> ..
/testcases/links/root -> /
/testcases/links/some_file
/testcases/links/some_file_absolute -> /testcases/links/some_file
/testcases/links/some_file_relative -> some_file
/testcases/links/usr -> /usr