aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-10-13 14:21:18 +0100
committerRon Yorston <rmy@pobox.com>2021-10-13 14:21:18 +0100
commit4859ddcb20616718efbea12c6bf8b27c469b68de (patch)
tree46c2cf67214f70f3361125d28e3560047b7b384c /arch
parent35b9217405d9c3ad8ebeab23f072d35327d25cfe (diff)
downloadbusybox-w32-4859ddcb20616718efbea12c6bf8b27c469b68de.tar.gz
busybox-w32-4859ddcb20616718efbea12c6bf8b27c469b68de.tar.bz2
busybox-w32-4859ddcb20616718efbea12c6bf8b27c469b68de.zip
win32: fix bb_get_last_path_component_nostrip()
Finding the last component of a path didn't properly handle a mixture of slashes and backslashes, paths relative to another drive or bare UNC paths. The following were incorrect: $ basename /dir\\file dir\file $ basename c:file c:file $ basename //HOST/share share With this patch the results are now: $ basename /dir\\file file $ basename c:file file $ basename //HOST/share //HOST/share
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions