]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
getcwd.3: Minor tweaks to Carlos O'Donell's patch
authorMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 12 Apr 2018 11:49:40 +0000 (13:49 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 12 Apr 2018 11:49:40 +0000 (13:49 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/getcwd.3

index b7aed1a71df8aeb4fecee821c00e57430b6f272d..04337d8b13ec2db7b3a591cc33199cf7372d28e1 100644 (file)
@@ -92,8 +92,7 @@ When dealing with paths from untrusted sources, callers of these
 functions should consider checking whether the returned path starts
 with '/' or '(' to avoid misinterpreting an unreachable path
 as a relative path.
-This is no longer true under some C libraries,
-see
+This is no longer true under some C libraries; see
 .BR NOTES .
 .PP
 The
@@ -274,7 +273,7 @@ Only in that case can
 these calls fail under Linux with
 .BR EACCES .
 .PP
-Since Linux commit v2.6.36 which added "(unreachable)" the glibc
+Since a Linux 2.6.36 change that added "(unreachable)", the glibc
 .BR getcwd ()
 has failed to conform to POSIX and returned a relative path when the API
 contract requires an absolute path.