Commit Graph

797 Commits

Author SHA1 Message Date
Sergey Poznyakoff
cd206cd899 Added exitfail.[hc] 2003-07-24 14:44:24 +00:00
Sergey Poznyakoff
4dc30d7397 Added to the repository 2003-07-24 14:43:30 +00:00
Paul Eggert
96148b87b7 ChangeLog entries from 1.13.25 through today. 2003-07-05 21:17:47 +00:00
Paul Eggert
09c4d7dc3c Mention --index-file, --no-overwrite-dir, new translations. 2003-07-05 21:12:43 +00:00
Paul Eggert
46f2740ff9 Add more suggestions. 2003-07-05 21:06:10 +00:00
Paul Eggert
88ffc1355e Initial revision 2003-07-05 20:14:48 +00:00
Paul Eggert
4a16f6c039 Initial revision 2003-07-05 20:13:29 +00:00
Paul Eggert
33cdac5e60 Initial revision 2003-07-05 20:10:59 +00:00
Paul Eggert
bce576a03b Remove tests/genfile.c; it doesn't need to
be translated, since it's not a user-visible tool.
2003-07-05 20:10:23 +00:00
Paul Eggert
f7ccf5eb1c Initial revision 2003-07-05 20:04:48 +00:00
Paul Eggert
8912f582ac Convert to UTF-8.
Don't include <print-copyr.h>.
(DEFAULT_PATTERN): Renamed from DEFAULT.
(ZEROS_PATTERN): Renamed from ZEROS.
(main): Use gettext to translate (C), not print_copyright.
2003-07-05 08:24:55 +00:00
Paul Eggert
4c690508bd Add comment about what other letters are used. 2003-07-05 08:19:48 +00:00
Paul Eggert
42d05fcb6e Do not include <print-copyr.h>.
Include <getdate.h>.
(get_date): Remove decl.
(ATIME_PRESERVE_OPTION, CHECKPOINT_OPTION, FORCE_LOCAL_OPTION,
IGNORE_FAILED_READ_OPTION, INDEX_FILE_OPTION, NO_OVERWRITE_DIR_OPTION,
NUMERIC_OWNER_OPTION, RECURSIVE_UNLINK_OPTION, REMOVE_FILES_OPTION,
SHOW_OMITTED_DIRS_OPTION, TOTALS_OPTION): New constants.
(long_options, decode_options): Use them.
(OVERWRITE_DIR_OPTION): Remove.
(long_options): New options --index-file, --no-overwrite-dir.
Remove --overwrite-dir option.
(usage): Use PACKAGE_BUGREPORT.
(decode_options): Terminate new argv properly.
Use PACKAGE_NAME, PACKAGE_VERSION.
If verbose, report how we grokked any textual date option.
(main): Add support for index-file.
2003-07-05 08:18:46 +00:00
Paul Eggert
40835c2c55 Use newer form for bug report and version. 2003-07-05 07:55:34 +00:00
Paul Eggert
1722082cfe Remove PARAMS. 2003-07-05 07:21:49 +00:00
Paul Eggert
45dd602433 Don't include print-copyr.h.
(prepare_input_buffer): Renamed from prepare_record_buffer.
New arg FD.  All uses changed.
Do not read more than INT_MAX bytes at once,
since it breaks on some brain damaged Tru64 hosts.
Do not mix int and size_t pointers.  Divide size by two
when retrying instead of subtracting 1024; for speed.
(main): Use gettext to translate (C), not print_copyright.
2003-07-05 07:21:19 +00:00
Paul Eggert
935cd4f515 (namelist_match): Allow partial matches only if recursive.
(hash_string_hasher): Renamed from hash_avoided_name.
(hash_string_compare): Renamed from compare_avoided_anames.
(hash_string_insert, hash_string_lookup): New functions.
(add_avoided_name, is_avoided_name): Use them.
(safer_name_suffix): New function.
(contains_dot_dot): Moved here from misc.c.  Now returns bool, not int.
2003-07-05 07:17:20 +00:00
Paul Eggert
f29b54b237 (read_and): Give full type for procedure arg.
(read_header): Strip trailing slashes, setting current_trailing_slash.
(tartime): Avoid int overflow when printing year (!).
(print_header): New arg specifing block ordinal.  All uses changed.
Print link as 'h' type.  Give labels for long links and names.
2003-07-05 07:00:54 +00:00
Paul Eggert
675c5a2f24 (we_are_root): Now bool, not int.
(check_time): Warn about implausibly old time stamps.
(set_stat): Use utimbuf, not stat_info.
(preprare_to_extract): New arg DIRECTORY.
(fill_in_sparse_array): Moved here from compare.c.
(extract_sparse_file): Now returns off_t, giving size left.
Truncate file at end.
(extract_archive): Use safer_name_suffix rather than rolling our own.
Use fill_in_sparse_array rather than rolling our own.
Strip trailing slashes more effectively.
Check for unsafe names.
2003-07-05 06:53:31 +00:00
Paul Eggert
ea202e1adf (relativize): Remove; replaced by safer_name_suffix.
All callers changed.
(start_header): Clear devmajor and devminor fields, too.
(finish_header): New arg block_ordinal.
(init_sparsearray): Now extern.  Set sp_array_size to
SPARSES_IN_OLDGNU_HEADER if it is zero.
(dump_file): Keep link table as a hash.
Do not count "file changed as we read it" as a failure.
2003-07-05 06:43:30 +00:00
Paul Eggert
664f2dbdd9 (print_total_written): Adjust to new human.h interface.
(child_open_for_compress): Do not increase size to BLOCKSIZE.
(open_archive): Open index file name.
Strip trailng slahes from file names.
(flush_write): Set size to 0 if not saving names.
(flush_write, flush_read): Use safer_name_suffix rather than
inline code.
2003-07-05 06:19:54 +00:00
Paul Eggert
15726fabad (AUTOMAKE_OPTIONS): Remove. 2003-07-05 01:04:08 +00:00
Paul Eggert
f2ad7d403e (EXTRA_DIST): Add alloca.m4, backupfile.m4, bison.m4, chown.m4,
dirname.m4, dos.m4, exclude.m4, fileblocks.m4, ftruncate.m4,
getdate.m4, getopt.m4, hash.m4, human.m4, intdiv0.m4, intmax_t.m4,
inttypes_h.m4, inttypes-pri.m4, isc-posix.m4, lcown.m4, lib-ld.m4,
lib-link.m4, lib-prefix.m4, memset.m4, mktime.m4, modechange.m4,
nls.m4, onceonly.m4, pathmax.m4, po.m4, quotearg.m4, quote.m4,
rmdir.m4, safe-read.m4, safe-write.m4, save-cwd.m4, savedir.m4,
ssize_t.m4, stdbool.m4, stdint_h.m4, strcase.m4, strtoimax.m4,
strtoll.m4, strtol.m4, strtoull.m4, strtoul.m4, strtoumax.m4,
tm_gmtoff.m4, uintmax_t.m4, unlocked-io.m4, xalloc.m4, xgetcwd.m4,
xstrtol.m4.  Remove c-bs-a.m4, ccstdc.m4, check-decl.m4, decl.m4,
jm-mktime.m4, prereq.m4, xstrtoimax.m4.
2003-07-05 00:59:16 +00:00
Paul Eggert
01d81c7f0f Switch to new method for doing copyright notices.
Use @acronym instead of @sc where appropriate.
Remove empty examples.  Give a few more examples.
2003-07-05 00:46:14 +00:00
Paul Eggert
e4a052cd21 Convert to UTF-8. 2003-07-04 23:35:57 +00:00
Paul Eggert
89662fe926 Convert to UTF-8. 2003-07-04 23:32:57 +00:00
Paul Eggert
d5100e76cf Convert to UTF-8. 2003-07-04 23:28:11 +00:00
Paul Eggert
622724a886 Convert to UTF-8. 2003-07-04 23:25:38 +00:00
Paul Eggert
b9be191da0 Suggest Autoconf 2.57, Automake 1.7.5, Bison 1.875, gettext 0.12.1. 2003-07-04 23:15:25 +00:00
Paul Eggert
121b4241d7 Suggest Autoconf 2.57, Automake 1.7.5, Bison 1.875. 2003-07-04 23:08:20 +00:00
Paul Eggert
39f69360f0 Add copyright notice. 2003-07-04 18:06:51 +00:00
Paul Eggert
f3364ac428 Initial revision 2003-06-28 21:17:38 +00:00
Paul Eggert
e547e855e9 import from gnulib 2003-06-04 23:35:46 +00:00
Paul Eggert
bdece51882 import from gnulib 2003-04-05 06:53:09 +00:00
Paul Eggert
fcb62b60d9 import from gnulib 2003-03-10 07:31:50 +00:00
Paul Eggert
dc861c7ab9 import from gnulib 2003-01-10 21:06:49 +00:00
Paul Eggert
7154feb583 import from gnulib 2003-01-08 18:42:38 +00:00
Paul Eggert
4f5e37c861 import from gnulib 2002-12-06 08:08:13 +00:00
Paul Eggert
504274b059 import from gnulib 2002-12-05 20:46:03 +00:00
Paul Eggert
4ff9279d9d import from gnulib 2002-11-22 16:25:53 +00:00
kaun
b94aa0bc5f (print_copyright)
- fix typo (use print_unicode_char, not print_unicode_success)
2002-08-02 00:04:07 +00:00
Paul Eggert
784a497c40 (strtoll): Depend on HAVE_LONG_LONG, not HAVE_UNSIGNED_LONG_LONG. 2002-07-09 17:40:33 +00:00
Paul Eggert
f2daf2e598 import from gnulib 2002-06-26 06:17:35 +00:00
Paul Eggert
859ba730d5 coreutils 5.0 version 2002-05-27 20:05:03 +00:00
Paul Eggert
d1c27c2308 Sync with fileutils 2002-02-11 14:28:35 +00:00
Paul Eggert
9ded0a0567 Sync with fileutils 2002-02-11 14:28:09 +00:00
Paul Eggert
4bfdfaa270 allow using unicode 2002-01-26 06:04:19 +00:00
Paul Eggert
ba32aa1147 From textutils 2.1 2002-01-22 07:43:55 +00:00
Paul Eggert
bb5b309581 Sync with fileutils. 2002-01-16 22:43:41 +00:00
Paul Eggert
f762709bb0 Sync with fileutils. 2001-12-19 15:05:33 +00:00