From c55226e8d620f4d6f36bc90869f8296954f94232 Mon Sep 17 00:00:00 2001 From: andersen Date: Sun, 1 Oct 2000 17:01:36 +0000 Subject: Apply patch from Giulio Orsero 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 --- utility.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3-55-g6feb