basename.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-12-09 09:06:11 +01:00
parent bcdd78a0e0
commit 503a47c546
1 changed files with 6 additions and 3 deletions

View File

@ -168,9 +168,12 @@ when
.I <libgen.h>
is included, and the GNU version otherwise.
.SH BUGS
In the glibc implementation of the POSIX versions of these functions
they modify their argument, and segfault when called with a static string
like "/usr/".
In the glibc implementation,
the POSIX versions of these functions modify the
.I path
argument, and segfault when called with a static string
such as "/usr/".
Before glibc 2.2.1, the glibc version of
.BR dirname ()
did not correctly handle pathnames with trailing \(aq/\(aq characters,