X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=aaaa436992eaabfb2ae0035d6f3aff93c6b71ecf;hb=4af188706f5b07a9e57ccdc83ec6e347aa4d27b6;hp=54bf81e9f5b87861bb9eee7aecba23f2926e402c;hpb=d7395a47443d64ea67e4fa4b0a70c3cb25bb688e;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 54bf81e9f..aaaa43699 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2011-05-24 Jim Meyering + + opendir-safer.c: don't clobber errno; don't close negative FD + * lib/opendir-safer.c (opendir_safer): + [HAVE_FDOPENDIR || GNULIB_FDOPENDIR]: Don't close a negative + file descriptor, and more importantly, don't clobber the + offending errno value with EINVAL. Before, upon failure + of dup_safer, we would pass the negative file descriptor to + fdopendir, which would clobber errno. + 2011-05-23 Bruno Haible idcache: Fix module description.