readlink.2: Post-merge reworking of text

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-02-21 10:48:18 +01:00
parent 6315ed1f4b
commit 787b49e735
1 changed files with 4 additions and 0 deletions

View File

@ -239,10 +239,14 @@ value returned by a call to
on the link.
However, the number of bytes written by
.BR readlink ()
and
.BR readlinkat ()
should be checked to make sure that the size of the
symbolic link did not increase between the calls.
Dynamically allocating the buffer for
.BR readlink ()
and
.BR readlinkat ()
also addresses a common portability problem when using
.I PATH_MAX
for the buffer size,