aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-12-29 10:56:48 +0000
committerRon Yorston <rmy@pobox.com>2024-12-29 10:56:48 +0000
commitc5e5da5eb1e0f6acee26bc22d2f567406a2840bc (patch)
tree5503adc914f0769dff6e212538589cbe99bfab75 /arch
parent90c87dc65452889cd79debdc58d46fee76d17726 (diff)
downloadbusybox-w32-c5e5da5eb1e0f6acee26bc22d2f567406a2840bc.tar.gz
busybox-w32-c5e5da5eb1e0f6acee26bc22d2f567406a2840bc.tar.bz2
busybox-w32-c5e5da5eb1e0f6acee26bc22d2f567406a2840bc.zip
ash: strip trailing slash from directory if necessary
The previous commit removed trailing dots and spaces from the last component of a pathname when changing directory. If the result has a trailing slash remove that too. But not if it's a drive root, to avoid 'cd C:/' showing a current directory of 'C:'. Adds 48 bytes. (GitHub issue #478)
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions