*** empty log message ***
authorJim Meyering <jim@meyering.net>
Mon, 17 Nov 2003 16:16:14 +0000 (16:16 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 17 Nov 2003 16:16:14 +0000 (16:16 +0000)
lib/ChangeLog

index 7abf20d52ad6018949f36a88cebe15f3230047b7..10019b5e0fbfc290941ef0e2c31bbfa06ae252ed 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-16  Paul Eggert  <eggert@twinsun.com>
             Bruno Haible  <bruno@clisp.org>