Mercurial > hg > octave-lojdl > gnulib-hg
diff lib/ChangeLog @ 4711:37bbd4e80866
Don't trash errno when a read fails.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Mon, 15 Sep 2003 22:34:18 +0000 |
parents | 86c722c44f87 |
children | c3e2b42bdca3 |
line wrap: on
line diff
--- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,12 @@ +2003-09-15 Paul Eggert <eggert@twinsun.com> + + * lib/getndelim2.c (getndelim2): Don't trash errno when a read + fails, so that the caller gets the proper errno. + + * readutmp.c (read_utmp): Likewise. + Check for fstat error. Close stream and free storage + when failing. + 2003-09-14 Bruno Haible <bruno@clisp.org> * fwriteerror.h: New file.