summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2000-09-05 21:50:52 +0000
committerEric Andersen2000-09-05 21:50:52 +0000
commitd13ebff16397923863ef5601e41c0e95feb42732 (patch)
treeed9cff3190d6123bb84b52a4203d4d8ad1987f5d
parent1eec89df4c85f6c6fbf8fea962cd5b1d8029492d (diff)
downloadbusybox-d13ebff16397923863ef5601e41c0e95feb42732.zip
busybox-d13ebff16397923863ef5601e41c0e95feb42732.tar.gz
Add BB_SH to get_last_path_component()... Fix thanks to
Bj�rn Eriksson.
-rw-r--r--utility.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utility.c b/utility.c
index c8bd573..5bf849e 100644
--- a/utility.c
+++ b/utility.c
@@ -1705,7 +1705,7 @@ char process_escape_sequence(char **ptr)
}
#endif
-#if defined BB_BASENAME || defined BB_LN
+#if defined BB_BASENAME || defined BB_LN || defined BB_SH
char *get_last_path_component(char *path)
{
char *s=path+strlen(path)-1;