aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-10-01 17:01:36 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-10-01 17:01:36 +0000
commitc55226e8d620f4d6f36bc90869f8296954f94232 (patch)
treebbb1388265c505d00a5d686c1d18c6f13e777a98
parent012a26f06a26b5da0e2d96e4b22103b6fcda8a5b (diff)
downloadbusybox-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.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;