Add BB_SH to get_last_path_component()... Fix thanks to
authorEric Andersen <andersen@codepoet.org>
Tue, 5 Sep 2000 21:50:52 +0000 (21:50 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 5 Sep 2000 21:50:52 +0000 (21:50 -0000)
Bj�rn Eriksson.

utility.c

index c8bd5737a68f6169d60981f4c4e602fab219adf8..5bf849e9d0a871e3aeca9fad82f9c65fcdf076cf 100644 (file)
--- 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;