diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-10-01 17:01:36 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-10-01 17:01:36 +0000 |
commit | c55226e8d620f4d6f36bc90869f8296954f94232 (patch) | |
tree | bbb1388265c505d00a5d686c1d18c6f13e777a98 | |
parent | 012a26f06a26b5da0e2d96e4b22103b6fcda8a5b (diff) | |
download | busybox-w32-c55226e8d620f4d6f36bc90869f8296954f94232.tar.gz busybox-w32-c55226e8d620f4d6f36bc90869f8296954f94232.tar.bz2 busybox-w32-c55226e8d620f4d6f36bc90869f8296954f94232.zip |
Apply patch from Giulio Orsero <giulioo@pobox.com> to ensure
get_last_path_component is defined under all configurations,
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@1142 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | utility.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1691,7 +1691,7 @@ char process_escape_sequence(char **ptr) | |||
1691 | } | 1691 | } |
1692 | #endif | 1692 | #endif |
1693 | 1693 | ||
1694 | #if defined BB_BASENAME || defined BB_LN || defined BB_SH | 1694 | #if defined BB_BASENAME || defined BB_LN || defined BB_SH || defined BB_INIT || defined BB_FEATURE_USE_PROCFS |
1695 | char *get_last_path_component(char *path) | 1695 | char *get_last_path_component(char *path) |
1696 | { | 1696 | { |
1697 | char *s=path+strlen(path)-1; | 1697 | char *s=path+strlen(path)-1; |