aboutsummaryrefslogtreecommitdiff
path: root/utility.c
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 /utility.c
parentc2bf5cad7984d5738eb797c7cd8910a0bbbb785d (diff)
downloadbusybox-ba1ff9b4eb4085b656a65df870865eeeb565fe5e.tar.gz
Apply patch from Giulio Orsero <giulioo@pobox.com> to ensure
get_last_path_component is defined under all configurations, -Erik
Diffstat (limited to 'utility.c')
-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)
}
#endif
-#if defined BB_BASENAME || defined BB_LN || defined BB_SH
+#if defined BB_BASENAME || defined BB_LN || defined BB_SH || defined BB_INIT || defined BB_FEATURE_USE_PROCFS
char *get_last_path_component(char *path)
{
char *s=path+strlen(path)-1;