Apply patch from Giulio Orsero <giulioo@pobox.com> to ensure
get_last_path_component is defined under all configurations, -Erik
This commit is contained in:
parent
c2bf5cad79
commit
ba1ff9b4eb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user