From 503a47c546a4185cc0e604cf72b7f021f8868f7a Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 9 Dec 2016 09:06:11 +0100 Subject: [PATCH] basename.3: wfix Signed-off-by: Michael Kerrisk --- man3/basename.3 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/man3/basename.3 b/man3/basename.3 index cb8a5b237..b4b9e106e 100644 --- a/man3/basename.3 +++ b/man3/basename.3 @@ -168,9 +168,12 @@ when .I 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,