view modules/utime @ 10186:bef6a09c05f1

utimens.c: correct kernel bug work-around Ondřej Vašík found that the invalid return value of 280 indicates failure, not success, and the kernel bug we're trying to work around affects not just the utimensat call, but also the fallback futimens call. * lib/utimens.c (gl_futimens) [HAVE_UTIMENSAT]: Simulate failure, not success. [HAVE_FUTIMENS]: Use the same work-around, here.
author Jim Meyering <meyering@redhat.com>
date Fri, 06 Jun 2008 18:20:14 +0200
parents 6a764f23e302
children dde1ecc647d1
line wrap: on
line source

Description:
utime() function: change access and/or modification times of a file.

Files:
lib/utime.c
m4/utimbuf.m4
m4/utime.m4
m4/utimes.m4
m4/utimes-null.m4

Depends-on:
safe-read
full-write

configure.ac:
gl_FUNC_UTIME

Makefile.am:

Include:
#if HAVE_UTIME_H
# include <utime.h>
#else
# include <sys/utime.h>
#endif

License:
GPL

Maintainer:
Jim Meyering