diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-08-13 22:08:56 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-08-13 22:08:56 +0000 |
commit | 1054384a8bb81d22f0037041b206d9fc98f9b570 (patch) | |
tree | a39b4def92ae7c753785c7deca325ce1b4b4d043 /manual | |
parent | 6f47f6457b69a0cbd2653271158e8742e7e6616a (diff) | |
download | glibc-1054384a8bb81d22f0037041b206d9fc98f9b570.tar glibc-1054384a8bb81d22f0037041b206d9fc98f9b570.tar.gz glibc-1054384a8bb81d22f0037041b206d9fc98f9b570.tar.bz2 glibc-1054384a8bb81d22f0037041b206d9fc98f9b570.zip |
Regenerated from source files
Diffstat (limited to 'manual')
-rw-r--r-- | manual/filesys.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/manual/filesys.texi b/manual/filesys.texi index d3f8d3f8cf..5eba3e262c 100644 --- a/manual/filesys.texi +++ b/manual/filesys.texi @@ -1138,7 +1138,7 @@ call @code{readlink} again. Here is an example: @smallexample char * -readlink_malloc (char *filename) +readlink_malloc (const char *filename) @{ int size = 100; @@ -1146,6 +1146,8 @@ readlink_malloc (char *filename) @{ char *buffer = (char *) xmalloc (size); int nchars = readlink (filename, buffer, size); + if (nchars < 0) + return NULL; if (nchars < size) return buffer; free (buffer); |