summaryrefslogtreecommitdiff
path: root/lib/utimens.c
AgeCommit message (Collapse)Author
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.