2008-10-23 15:06:24

by Daniel Gollub

[permalink] [raw]
Subject: [patch 2/3] [man-pages] Remove "bufsize is not positive" from readlink(2) error section

The error statement "bufsize is not positive" is obsolete, if this proposed
syscall interface change get accepted.

Note: Kernel 2.6.27 and older shipped sys_readlink with a signed "bufsiz"
argument. Man-page document the readlink syscall always as unsigend (size_t).

Signed-off-by: Daniel Gollub <[email protected]>

---

man2/readlink.2 | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/man2/readlink.2 b/man2/readlink.2
index b94db21..470c222 100644
--- a/man2/readlink.2
+++ b/man2/readlink.2
@@ -86,10 +86,6 @@ Search permission is denied for a component of the path prefix.
extends outside the process's allocated address space.
.TP
.B EINVAL
-.I bufsiz
-is not positive.
-.TP
-.B EINVAL
The named file is not a symbolic link.
.TP
.B EIO