df06a57b8c(update_archive): Abort if HEADER_SUCCESS_EXTENDED occurs, as it's not possible. Pass false to read_header, not 0.
Paul Eggert
2003-09-03 06:20:41 +00:00
14e8c10222(struct fmttab.name): Now char const *. All uses changed. (fmttab): Now const. All uses changed. Avoid GCC warning by not eliding initializers. (set_archive_format): Report an error if no format name matches, instead of returning an undefined value. (set_archive_format): Now static.
Paul Eggert
2003-09-03 06:19:00 +00:00
a546fc7c21(read_and): Abort if HEADER_SUCCESS_EXTENDED occurs, as it's not possible. Pass false to read_header, not 0.
Paul Eggert
2003-09-03 06:15:32 +00:00
86a9b9261d(delete_archive_members): Handle case of HEADER_SUCCESS_EXTENDED followed by HEADER_FAILURE. Pass true/false to read_header, not 1/0.
Paul Eggert
2003-09-03 06:14:37 +00:00
7653d2f6b8(write_extended): Remove unused local 'bufsize'.
Paul Eggert
2003-09-03 06:13:26 +00:00
2c390b2c21(verify_volume): read_header (0) -> read_header (false), since read_header accepts a bool.
Paul Eggert
2003-09-03 06:11:52 +00:00
c4d396f8d1(destroy_stat, xheader_decode, xheader_store, xheader_read, xheader_finish, xheader_destroy): Add decls; required in C99.
Paul Eggert
2003-09-03 06:10:55 +00:00
99a5f5d4f9(xhdr_tab): Reserved GNU keywords (commented out for the time being)
Sergey Poznyakoff
2003-09-03 00:03:32 +00:00
01decb5737(list_archive): Always decode the header. This is necessary so the extended header is processed and the correct filename is printed no matter what the state of verbose_option.
Sergey Poznyakoff
2003-09-03 00:03:09 +00:00
ce059f3cc8(start_header): Store long file names in "path" keyword of an extended header if in POSIX mode. (finish_header): print header before calling write_extended().
Sergey Poznyakoff
2003-09-03 00:02:32 +00:00
01f19e973bMerge changes from gnulib.
Paul Eggert
2003-09-02 04:09:03 +00:00
cb3ec64970(string_to_chars): New function. (write_extended): New function (start_header): Create extended POSIX headers if necessary. (finish_header): Likewise.
Sergey Poznyakoff
2003-09-01 17:00:26 +00:00
72e5a9beb6(MAXOCTAL11,MAXOCTAL7): New defines (string_to_chars): New functions (struct xheader): Changed structure (gid_to_gname,gname_to_gid,uid_to_uname,uname_to_uid): Changed prototypes.
Sergey Poznyakoff
2003-09-01 16:59:56 +00:00
096bc2bffd(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.
Sergey Poznyakoff
2003-08-31 22:40:34 +00:00
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.
Sergey Poznyakoff
2003-08-31 22:39:43 +00:00
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
Sergey Poznyakoff
2003-08-31 22:38:55 +00:00
81a9e2ae36Drop en_GB locale; it was more trouble than it was worth (e.g., different users in en_GB disagree about -ize versus -ise).
Paul Eggert
2003-08-30 05:37:55 +00:00
d52a1bb366New 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.
Sergey Poznyakoff
2003-07-27 12:01:59 +00:00
2adfef0149(print_header): Use orig_file_name.
Sergey Poznyakoff
2003-07-27 12:01:04 +00:00
4f48e61fcf(print_header): Print trailing slash if current_trailing_slash was set (extrac03.sh,extrac04.sh tests).
Sergey Poznyakoff
2003-07-24 14:48:08 +00:00
eb66edaa9f(flush_read): Fixed behavior on short reads right after opening the new archive (multiv01.sh test). (new_volume): Special handling for "-".
Sergey Poznyakoff
2003-07-24 14:45:29 +00:00
31d9c7e2a4(chdir_do): Fixed call to restore_cwd
Sergey Poznyakoff
2003-07-24 14:44:51 +00:00
4dc30d7397Added to the repository
Sergey Poznyakoff
2003-07-24 14:43:30 +00:00
96148b87b7ChangeLog entries from 1.13.25 through today.
Paul Eggert
2003-07-05 21:17:47 +00:00
09c4d7dc3cMention --index-file, --no-overwrite-dir, new translations.
Paul Eggert
2003-07-05 21:12:43 +00:00
46f2740ff9Add more suggestions.
Paul Eggert
2003-07-05 21:06:10 +00:00
88ffc1355eInitial revision
Paul Eggert
2003-07-05 20:14:48 +00:00
4a16f6c039Initial revision
Paul Eggert
2003-07-05 20:13:29 +00:00
33cdac5e60Initial revision
Paul Eggert
2003-07-05 20:10:59 +00:00
bce576a03bRemove tests/genfile.c; it doesn't need to be translated, since it's not a user-visible tool.
Paul Eggert
2003-07-05 20:10:23 +00:00
f7ccf5eb1cInitial revision
Paul Eggert
2003-07-05 20:04:48 +00:00
8912f582acConvert 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.
Paul Eggert
2003-07-05 08:24:55 +00:00
4c690508bdAdd comment about what other letters are used.
Paul Eggert
2003-07-05 08:19:48 +00:00
42d05fcb6eDo 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.
Paul Eggert
2003-07-05 08:18:46 +00:00
40835c2c55Use newer form for bug report and version.
Paul Eggert
2003-07-05 07:55:34 +00:00
1722082cfeRemove PARAMS.
Paul Eggert
2003-07-05 07:21:49 +00:00
45dd602433Don'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.
Paul Eggert
2003-07-05 07:21:19 +00:00
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.
Paul Eggert
2003-07-05 07:17:20 +00:00
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.
Paul Eggert
2003-07-05 07:00:54 +00:00
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.
Paul Eggert
2003-07-05 06:53:31 +00:00
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.
Paul Eggert
2003-07-05 06:43:30 +00:00
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.
Paul Eggert
2003-07-05 06:19:54 +00:00
15726fabad(AUTOMAKE_OPTIONS): Remove.
Paul Eggert
2003-07-05 01:04:08 +00:00
01d81c7f0fSwitch to new method for doing copyright notices. Use @acronym instead of @sc where appropriate. Remove empty examples. Give a few more examples.
Paul Eggert
2003-07-05 00:46:14 +00:00
e4a052cd21Convert to UTF-8.
Paul Eggert
2003-07-04 23:35:57 +00:00
89662fe926Convert to UTF-8.
Paul Eggert
2003-07-04 23:32:57 +00:00
d5100e76cfConvert to UTF-8.
Paul Eggert
2003-07-04 23:28:11 +00:00
622724a886Convert to UTF-8.
Paul Eggert
2003-07-04 23:25:38 +00:00