diff options
author | Ron Yorston <rmy@pobox.com> | 2019-03-06 12:00:50 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2019-03-06 12:00:50 +0000 |
commit | 585d17d262efabce4a9a87f33f531ef9ab7c0e36 (patch) | |
tree | e9b5d4bffaf1d8962d3c3d5e4529d7b87f831c7c /shell | |
parent | 5c5197df8668ba58ec7799ccc418d124a6c6a49e (diff) | |
download | busybox-w32-585d17d262efabce4a9a87f33f531ef9ab7c0e36.tar.gz busybox-w32-585d17d262efabce4a9a87f33f531ef9ab7c0e36.tar.bz2 busybox-w32-585d17d262efabce4a9a87f33f531ef9ab7c0e36.zip |
win32: canonicalize path in chdir(2)
Provide an implementation of chdir(2) which canonicalizes the
path to resolve symlinks. Otherwise changing to a symlinked
directory confuses 'ls -l' because it thinks '.' is a link
rather than a directory.
OTOH, using 'cd' in the shell to change to a symlinked directory
now results in a mismatch between the shell's idea of where we are
and what's displayed in the prompt. But upstream BusyBox does
that too so it must be OK.
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions