diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-10-01 17:01:36 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-10-01 17:01:36 +0000 |
commit | ba1ff9b4eb4085b656a65df870865eeeb565fe5e (patch) | |
tree | bbb1388265c505d00a5d686c1d18c6f13e777a98 | |
parent | c2bf5cad7984d5738eb797c7cd8910a0bbbb785d (diff) | |
download | busybox-w32-ba1ff9b4eb4085b656a65df870865eeeb565fe5e.tar.gz busybox-w32-ba1ff9b4eb4085b656a65df870865eeeb565fe5e.tar.bz2 busybox-w32-ba1ff9b4eb4085b656a65df870865eeeb565fe5e.zip |
Apply patch from Giulio Orsero <giulioo@pobox.com> to ensure
get_last_path_component is defined under all configurations,
-Erik
-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; |