summaryrefslogtreecommitdiffstats
path: root/lib/utimens.c
AgeCommit message (Collapse)AuthorLines
2006-08-21Remove from CVS, since the bootstrap script generates them automatically.Paul Eggert-172/+0
2006-06-11(__attribute__): Don't define if already defined.Paul Eggert-2/+4
2006-04-15(futimens): glibc futimesat messes up if /proc isn't mounted.Paul Eggert-23/+29
2005-10-30(futimens) [HAVE_WORKING_UTIMES && HAVE_FUTIMES]:Paul Eggert-11/+9
Don't assume that futimes failing means we must fail.
2005-09-26Include unistd.h, for dup2.Paul Eggert-1/+15
(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-15/+40
(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-3/+9
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-1/+1
2005-01-03(futimens): Robustify the previous patch, by checkingPaul Eggert-4/+10
for known valid error numbers rather than observed invalid ones.
2005-01-03(futimens): Account for the fact that futimesJim Meyering-3/+3
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-2/+13
errno == ENOENT.
2004-11-23(__attribute__, ATTRIBUTE_UNUSED): New macros.Paul Eggert-12/+53
(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-6/+6
Test HAVE_WORKING_UTIMES instead of HAVE_UTIMES.
2003-08-09Test HAVE_UTIME, not HAVE_UTIMES.Jim Meyering-0/+63
Prefer utime, since it works and utimes doesn't on some systems.