diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-09-19 00:22:54 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-09-19 00:22:54 +0300 |
commit | a279052b65a53d228f0d2cd188114f4cf398cc82 (patch) | |
tree | 02600610bb547ef1badd5de4d706cc0888252cc3 /src | |
parent | 27991c48996e8022c4b5dc306f3920ce4249d6f0 (diff) | |
download | cpio-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')
-rw-r--r-- | src/copyin.c | 2 | ||||
-rw-r--r-- | src/util.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/copyin.c b/src/copyin.c index d41b17f..22e33dc 100644 --- a/src/copyin.c +++ b/src/copyin.c @@ -866,7 +866,7 @@ read_pattern_file () pattern_fp = fopen (pattern_file_name, "r"); if (pattern_fp == NULL) - open_error (pattern_file_name); + open_fatal (pattern_file_name); while (ds_fgetstr (pattern_fp, &pattern_name, '\n') != NULL) { if (new_num_patterns >= max_new_patterns) @@ -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); } |