aboutsummaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-09-19 00:22:54 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-09-19 00:22:54 +0300
commita279052b65a53d228f0d2cd188114f4cf398cc82 (patch)
tree02600610bb547ef1badd5de4d706cc0888252cc3 /src/util.c
parent27991c48996e8022c4b5dc306f3920ce4249d6f0 (diff)
downloadcpio-a279052b65a53d228f0d2cd188114f4cf398cc82.tar.gz
cpio-a279052b65a53d228f0d2cd188114f4cf398cc82.tar.bz2
Minor fixes.
* configure.ac: Use gettext 0.18 * doc/.gitignore: Add parse-datetime.texi. * lib/Makefile.am (libpax_a_SOURCES): Add exit-status.c * src/copyin.c (read_pattern_file): Use open_fatal if opening pattern file failed. * src/util.c (set_file_times): Use fdutimens.
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index c56ecf5..7c6db52 100644
--- a/src/util.c
+++ b/src/util.c
@@ -1372,7 +1372,7 @@ set_file_times (int fd,
/* Silently ignore EROFS because reading the file won't have upset its
timestamp if it's on a read-only filesystem. */
- if (gl_futimens (fd, name, ts) < 0 && errno != EROFS)
+ if (fdutimens (fd, name, ts) < 0 && errno != EROFS)
utime_error (name);
}

Return to:

Send suggestions and report system problems to the System administrator.