Mercurial > hg > octave-kai > gnulib-hg
diff lib/ChangeLog @ 5386:c008e99bcbab
xreadlink problems with SSIZE_MAX.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 02 Nov 2004 20:18:26 +0000 |
parents | 72833e3704a0 |
children | 4966ef3f0d28 |
line wrap: on
line diff
--- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,13 @@ +2004-11-02 Paul Eggert <eggert@cs.ucla.edu> + + * xreadlink.c (MAXSIZE): New macro. + (xreadlink): Use it instead of SSIZE_MAX. Ensure initial buffer + size does not exceed MAXSIZE. Avoid cast. + As suggested by Mark D. Baushke in + <http://lists.gnu.org/archive/html/bug-gnulib/2004-11/msg00009.html>, + if readlink fails with buffer size just under MAXSIZE, try again + with MAXSIZE. + 2004-11-02 Derek R. Price <derek@ximbiot.com> and Paul Eggert <eggert@cs.ucla.edu>