man-pages/man-pages-posix-2003-readlink3p.patch
2012-09-11 16:56:35 +02:00

13 lines
491 B
Diff

diff -ur man-pages-3.42.orig/man-pages-posix-2003-a/man3p/readlink.3p man-pages-3.42/man-pages-posix-2003-a/man3p/readlink.3p
--- man-pages-3.42.orig/man-pages-posix-2003-a/man3p/readlink.3p 2008-06-05 11:22:12.000000000 +0200
+++ man-pages-3.42/man-pages-posix-2003-a/man3p/readlink.3p 2012-09-11 10:57:03.913771772 +0200
@@ -96,7 +96,7 @@
.sp
char buf[1024];
-ssizet_t len;
+ssize_t len;
\&...
if ((len = readlink("/modules/pass1", buf, sizeof(buf)-1)) != -1)
buf[len] = '\\0';