aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-01 17:01:36 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-01 17:01:36 +0000
commitba1ff9b4eb4085b656a65df870865eeeb565fe5e (patch)
treebbb1388265c505d00a5d686c1d18c6f13e777a98
parentc2bf5cad7984d5738eb797c7cd8910a0bbbb785d (diff)
downloadbusybox-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utility.c b/utility.c
index 03d649757..9a303751d 100644
--- a/utility.c
+++ b/utility.c
@@ -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
1695char *get_last_path_component(char *path) 1695char *get_last_path_component(char *path)
1696{ 1696{
1697 char *s=path+strlen(path)-1; 1697 char *s=path+strlen(path)-1;