]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Mon, 17 Nov 2003 16:13:08 +0000 (16:13 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 17 Nov 2003 16:13:08 +0000 (16:13 +0000)
lib/ChangeLog

index 518d94edb4197c00ef0ee369adf28c7d41d963a8..18520fac5bc5bacc9def6c84e5d8f1b588f03dbe 100644 (file)
@@ -1,3 +1,12 @@
+2003-11-17  Jim Meyering  <jim@meyering.net>
+
+       On systems without utime and without a utimes function capable of
+       dealing with a NULL struct utimbuf* argument, this utime replacement
+       could -- in unusual circumstances -- leak a file descriptor.
+       * utime.c: Include <unistd.h> and <errno.h>.
+       (utime_null): Be sure to close `fd' and to preserve errno.
+       Reported by Geoff Collyer via Arnold Robbins.
+
 2003-11-13  Jim Meyering  <jim@meyering.net>
 
        * xalloc.h, xstrtol.c: Update from gnulib.