Bash-4.3 patch 41
This commit is contained in:
parent
8d98b94e3e
commit
2b3ca7e0cf
3 changed files with 16 additions and 1 deletions
|
|
@ -689,6 +689,8 @@ printable_part (pathname)
|
|||
|
||||
if (temp == 0 || *temp == '\0')
|
||||
return (pathname);
|
||||
else if (temp[1] == 0 && temp == pathname)
|
||||
return (pathname);
|
||||
/* If the basename is NULL, we might have a pathname like '/usr/src/'.
|
||||
Look for a previous slash and, if one is found, return the portion
|
||||
following that slash. If there's no previous slash, just return the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue