man-pages/man-pages-3.35-readlink3p.patch
Peter Schiffer bd3973caf3 - resolves: #751620
update to 3.35
- resolves: #723578
  typo in readlink(3p)
2011-11-11 18:28:39 +01:00

13 lines
425 B
Diff

diff -up man-pages-3.35/man3p/readlink.3p.tmp man-pages-3.35/man3p/readlink.3p
--- man-pages-3.35/man3p/readlink.3p.tmp 2008-06-05 11:22:12.000000000 +0200
+++ man-pages-3.35/man3p/readlink.3p 2011-11-11 17:15:22.632800329 +0100
@@ -96,7 +96,7 @@ named \fB/modules/pass1\fP.
.sp
char buf[1024];
-ssizet_t len;
+ssize_t len;
\&...
if ((len = readlink("/modules/pass1", buf, sizeof(buf)-1)) != -1)
buf[len] = '\\0';