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
1 changed files with 1 additions and 1 deletions
|
@ -1691,7 +1691,7 @@ char process_escape_sequence(char **ptr)
|
||||||
}
|
}
|
||||||
#endif
|
#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 *get_last_path_component(char *path)
|
||||||
{
|
{
|
||||||
char *s=path+strlen(path)-1;
|
char *s=path+strlen(path)-1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue