mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Regenerated from source files
This commit is contained in:
parent
6f47f6457b
commit
1054384a8b
@ -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);
|
||||
|
1475
po/libc.pot
1475
po/libc.pot
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user