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:
Eric Andersen 2000-10-01 17:01:36 +00:00
parent c2bf5cad79
commit ba1ff9b4eb

View File

@ -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;