Commit 1631ea41e4a29eea87f534f9e70db84c1cf29a9b

Jim Meyering 2003-11-17T16:16:00

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. Include <unistd.h> and <errno.h>. (utime_null): Be sure to close `fd' and to preserve errno.