Add BB_SH to get_last_path_component()... Fix thanks to
Bj�rn Eriksson.
This commit is contained in:
parent
1eec89df4c
commit
d13ebff163
@ -1705,7 +1705,7 @@ char process_escape_sequence(char **ptr)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined BB_BASENAME || defined BB_LN
|
#if defined BB_BASENAME || defined BB_LN || defined BB_SH
|
||||||
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…
x
Reference in New Issue
Block a user