public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] realpath.3: update EINVAL description
@ 2011-08-31 15:20 Seonghun Lim
       [not found] ` <4E5E5153.8030101-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Seonghun Lim @ 2011-08-31 15:20 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

man-pages version: latest git repository
why: The argument resolved_path can be NULL and it's not
a error condition any more. See the last paragraph of the
DESCRIPTION, and the last paragraph of CONFORMING TO.
See also the commit c49e8fc9.


diff --git a/man3/realpath.3 b/man3/realpath.3
--- a/man3/realpath.3
+++ b/man3/realpath.3
@@ -104,13 +104,9 @@ is set to indicate the error.
Read or search permission was denied for a component of the path prefix.
.TP
.B EINVAL
-Either
.I path
-or
-.I resolved_path
is NULL.
(In libc5 this would just cause a segfault.)
-But, see NOTES below.
.TP
.B EIO
An I/O error occurred while reading from the file system.

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-17  5:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-31 15:20 [patch] realpath.3: update EINVAL description Seonghun Lim
     [not found] ` <4E5E5153.8030101-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-09-17  5:13   ` Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox