Commit Graph

872 Commits

Author SHA1 Message Date
Sergey Poznyakoff
6f12dbc264 (orig_file_name,current_file_name)
(current_trailing_slash,current_link_name): Removed variables.
(current_stat_info): New variable
(current_stat): Removed
(extended_header): New variable
(decode_header): Changed prototype.
2003-08-31 22:39:43 +00:00
Sergey Poznyakoff
450636adfa (decode_header): Added initial support for POSIX extended
and STAR headers.
(skip_member): Check oldgnu_header only if current_format is set
to OLDGNU_FORMAT
2003-08-31 22:38:55 +00:00
Sergey Poznyakoff
4e59b9d7e3 Added xheader.c 2003-08-31 22:36:09 +00:00
Sergey Poznyakoff
5be0f2ba49 New file 2003-08-31 22:35:35 +00:00
Paul Eggert
81a9e2ae36 Drop en_GB locale; it was more trouble than it was worth (e.g., different
users in en_GB disagree about -ize versus -ise).
2003-08-30 05:37:55 +00:00
Sergey Poznyakoff
a18256492a Updated 2003-07-28 12:02:16 +00:00
Sergey Poznyakoff
cab627b49d Updated 2003-07-28 11:57:26 +00:00
Sergey Poznyakoff
317fbb9d5f Removed references to the obsolete command line options. 2003-07-28 11:41:17 +00:00
Sergey Poznyakoff
a687cf05b7 Removed support for the obsolete command line options. 2003-07-28 11:40:35 +00:00
Sergey Poznyakoff
df2f967cdd Updated 2003-07-27 12:14:22 +00:00
Sergey Poznyakoff
d52a1bb366 New option --check-links.
Changed semantics of -o to comply to UNIX98 when extracting and
to its previous semantics otherwise.
(main): Call check_links if --check-links. was given.
2003-07-27 12:01:59 +00:00
Sergey Poznyakoff
2adfef0149 (print_header): Use orig_file_name. 2003-07-27 12:01:04 +00:00
Sergey Poznyakoff
bee35fc152 /tmp/F 2003-07-27 12:00:31 +00:00
Sergey Poznyakoff
1fef6258aa (check_links_option): New variable
(orig_file_name): New variable
(check_links): New proto.
2003-07-27 11:59:58 +00:00
Sergey Poznyakoff
b68057816b Updated 2003-07-27 11:59:30 +00:00
Sergey Poznyakoff
6dd7e857e5 Updated 2003-07-25 15:08:45 +00:00
Sergey Poznyakoff
eb42c0070d (tar.dvi): Fixed TEXINPUTS value. 2003-07-25 15:08:17 +00:00
Sergey Poznyakoff
d4bcefe915 Started the entry for 1.13.26 2003-07-25 15:06:32 +00:00
Sergey Poznyakoff
7219c538eb (print_header): Revised 2003-07-25 15:05:41 +00:00
Sergey Poznyakoff
5a73638d27 Updated 2003-07-24 14:55:12 +00:00
Sergey Poznyakoff
83a5c01349 Added missing files. 2003-07-24 14:53:09 +00:00
Sergey Poznyakoff
b84cc97df7 Minor changes. 2003-07-24 14:48:44 +00:00
Sergey Poznyakoff
4f48e61fcf (print_header): Print trailing slash if
current_trailing_slash was set (extrac03.sh,extrac04.sh tests).
2003-07-24 14:48:08 +00:00
Sergey Poznyakoff
eb66edaa9f (flush_read): Fixed behavior on short
reads right after opening the new archive (multiv01.sh test).
(new_volume): Special handling for "-".
2003-07-24 14:45:29 +00:00
Sergey Poznyakoff
31d9c7e2a4 (chdir_do): Fixed call to restore_cwd 2003-07-24 14:44:51 +00:00
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