changeset 4874:310bf22ff300

*** empty log message ***
author Jim Meyering <jim@meyering.net>
date Mon, 17 Nov 2003 16:16:14 +0000
parents 8b1923c943a6
children 2f724c1e6ebe
files lib/ChangeLog
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -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>