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 | |
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.
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | doc/.gitignore | 1 | ||||
-rw-r--r-- | lib/Makefile.am | 1 | ||||
-rw-r--r-- | src/copyin.c | 2 | ||||
-rw-r--r-- | src/util.c | 2 |
5 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index b4507eb..e55c25e 100644 --- a/configure.ac +++ b/configure.ac @@ -86,3 +86,3 @@ AM_ICONV AM_GNU_GETTEXT([external], [need-formatstring-macros]) -AM_GNU_GETTEXT_VERSION(0.17) +AM_GNU_GETTEXT_VERSION(0.18) diff --git a/doc/.gitignore b/doc/.gitignore index 3f8fe69..2dd81c0 100644 --- a/doc/.gitignore +++ b/doc/.gitignore @@ -23,2 +23,3 @@ getdate.texi manual +parse-datetime.texi stamp-vti diff --git a/lib/Makefile.am b/lib/Makefile.am index d9a42a0..74e25c4 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -33,2 +33,3 @@ libpax_a_SOURCES = \ exit.c\ + exit-status.c\ paxlib.h\ diff --git a/src/copyin.c b/src/copyin.c index d41b17f..22e33dc 100644 --- a/src/copyin.c +++ b/src/copyin.c @@ -868,3 +868,3 @@ read_pattern_file () if (pattern_fp == NULL) - open_error (pattern_file_name); + open_fatal (pattern_file_name); while (ds_fgetstr (pattern_fp, &pattern_name, '\n') != NULL) @@ -1374,3 +1374,3 @@ set_file_times (int fd, 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); |