summaryrefslogtreecommitdiff
path: root/lib/utime.c
AgeCommit message (Collapse)Author
2005-05-14Update FSF postal mail address.Jim Meyering
2004-08-02Update copyright.Paul Eggert
2004-08-02(errno): Remove decl; we now assume C89 or better.Paul Eggert
2003-11-17On systems without utime and without a utimes function capable ofJim Meyering
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.
2003-09-10[!HAVE_UTIMES_NULL]: Include <sys/stat.h>, <fcntl.h>.Jim Meyering
(utime_null): Fix typo: 'st' was sometimes called 'sb'.
2003-07-23Normalize naming of Sun operating systems, e.g., SunOS4 -> SunOS 4,Jim Meyering
Solaris5.9 -> Solaris 9. From Paul Eggert.
2003-01-06(utime_null): No need to call ftruncate if the file wasJim Meyering
nonempty. Patch by Bruno Haible. (utime_null): Use SAFE_READ_ERROR.
2001-08-31copyrightJim Meyering
2001-08-31Include full-write.h.Jim Meyering
2000-08-07back out Copyright date changes for files with no changes yearJim Meyering
2000-07-09update copyright dateJim Meyering
1999-04-26(utime_null): Don't pass 0666 to open; it's not needed and isn'tJim Meyering
guaranteed to be portable.
1998-07-25.Jim Meyering