summaryrefslogtreecommitdiff
path: root/lib/utimens.c
AgeCommit message (Collapse)Author
2006-06-11(__attribute__): Don't define if already defined.Paul Eggert
2006-04-15(futimens): glibc futimesat messes up if /proc isn't mounted.Paul Eggert
2005-10-30(futimens) [HAVE_WORKING_UTIMES && HAVE_FUTIMES]:Paul Eggert
Don't assume that futimes failing means we must fail.
2005-09-26Include unistd.h, for dup2.Paul Eggert
(futimens): Fix typo: HAVE_FUTIMESAT was misspelled in an #if. (futimens) [! HAVE_FUTIMESAT]: If !file, set errno before returning -1.
2005-09-25(ENOSYS): Define if not already defined.Paul Eggert
(ftimens): Support having a null PATH if the file descriptor is nonnegative.
2005-09-23* lib/utimens.c (futimens): Use futimesat if available.Paul Eggert
Prefer it to futimes since it doesn't have the futimes bug. * m4/utimens.m4 (gl_UTIMENS): Check for futimesat.
2005-05-14Update FSF postal mail address.Jim Meyering
2005-01-03(futimens): Robustify the previous patch, by checkingPaul Eggert
for known valid error numbers rather than observed invalid ones.
2005-01-03(futimens): Account for the fact that futimesJim Meyering
can also fail with errno == ENOSYS in that case. Patch from Dmitry V. Levin.
2005-01-03futimens) [HAVE_FUTIMES]: Fall back on utimes if futimes fails withPaul Eggert
errno == ENOENT.
2004-11-23(__attribute__, ATTRIBUTE_UNUSED): New macros.Paul Eggert
(futimens): New function, which uses futimes if available. (futimens, utimens): Support timespec==NULL, with same semantics as utime and utimens.
2003-08-10(utimens): Revert most of last change.Jim Meyering
Test HAVE_WORKING_UTIMES instead of HAVE_UTIMES.
2003-08-09Test HAVE_UTIME, not HAVE_UTIMES.Jim Meyering
Prefer utime, since it works and utimes doesn't on some systems.