Commit Graph

  • 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
  • 40138ceb05 Updated Sergey Poznyakoff 2003-09-03 00:06:12 +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
  • 01f19e973b Merge changes from gnulib. Paul Eggert 2003-09-02 04:09:03 +00:00
  • c76e8a861e Updated Sergey Poznyakoff 2003-09-01 17:45:10 +00:00
  • 8750043986 Added new files Sergey Poznyakoff 2003-09-01 17:43:24 +00:00
  • 49ce0ebbea Updated Sergey Poznyakoff 2003-09-01 17:20:47 +00:00
  • 9e4f9e232c obstack is autodetermined... Sergey Poznyakoff 2003-09-01 17:19:56 +00:00
  • c3440ae0c9 Added 'gl_OBSTACK' Sergey Poznyakoff 2003-09-01 17:11:11 +00:00
  • d71b31e241 Added obstack Sergey Poznyakoff 2003-09-01 17:06:11 +00:00
  • 4d0ac610b0 Minor formatting change Sergey Poznyakoff 2003-09-01 17:04:21 +00:00
  • c22a8b44d7 Added obstack. Sergey Poznyakoff 2003-09-01 17:03:49 +00:00
  • 4189af3785 Implemented coder functions. Sergey Poznyakoff 2003-09-01 17:03:33 +00:00
  • 33b63ebe94 (OLDGNU_COMPATIBILITY): Removed (struct extra_header): Removed unused structure. (union block.extra_header): Removed unused member. Sergey Poznyakoff 2003-09-01 17:03:07 +00:00
  • 879ae47aa1 New option --format Sergey Poznyakoff 2003-09-01 17:02:45 +00:00
  • 53eec8f039 (print_header): Take user/group from current_stat_info. Sergey Poznyakoff 2003-09-01 17:02:11 +00:00
  • 83c68b4e40 (gid_to_gname,gname_to_gid,uid_to_uname,uname_to_uid): Changed prototypes Sergey Poznyakoff 2003-09-01 17:01:35 +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
  • 7657bd4323 Updated Sergey Poznyakoff 2003-08-31 23:03:40 +00:00
  • 518748f939 Use current_stat_info Sergey Poznyakoff 2003-08-31 22:55:21 +00:00
  • db783659b0 (destroy_stat): New function. Sergey Poznyakoff 2003-08-31 22:45:58 +00:00
  • d858a433c8 Use current_stat_info Sergey Poznyakoff 2003-08-31 22:41:32 +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
  • 4e59b9d7e3 Added xheader.c Sergey Poznyakoff 2003-08-31 22:36:09 +00:00
  • 5be0f2ba49 New file Sergey Poznyakoff 2003-08-31 22:35:35 +00:00
  • 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). Paul Eggert 2003-08-30 05:37:55 +00:00
  • a18256492a Updated Sergey Poznyakoff 2003-07-28 12:02:16 +00:00
  • cab627b49d Updated Sergey Poznyakoff 2003-07-28 11:57:26 +00:00
  • 317fbb9d5f Removed references to the obsolete command line options. Sergey Poznyakoff 2003-07-28 11:41:17 +00:00
  • a687cf05b7 Removed support for the obsolete command line options. Sergey Poznyakoff 2003-07-28 11:40:35 +00:00
  • df2f967cdd Updated Sergey Poznyakoff 2003-07-27 12:14:22 +00:00
  • 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. 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
  • bee35fc152 /tmp/F Sergey Poznyakoff 2003-07-27 12:00:31 +00:00
  • 1fef6258aa (check_links_option): New variable (orig_file_name): New variable (check_links): New proto. Sergey Poznyakoff 2003-07-27 11:59:58 +00:00
  • b68057816b Updated Sergey Poznyakoff 2003-07-27 11:59:30 +00:00
  • 6dd7e857e5 Updated Sergey Poznyakoff 2003-07-25 15:08:45 +00:00
  • eb42c0070d (tar.dvi): Fixed TEXINPUTS value. Sergey Poznyakoff 2003-07-25 15:08:17 +00:00
  • d4bcefe915 Started the entry for 1.13.26 Sergey Poznyakoff 2003-07-25 15:06:32 +00:00
  • 7219c538eb (print_header): Revised Sergey Poznyakoff 2003-07-25 15:05:41 +00:00
  • 5a73638d27 Updated Sergey Poznyakoff 2003-07-24 14:55:12 +00:00
  • 83a5c01349 Added missing files. Sergey Poznyakoff 2003-07-24 14:53:09 +00:00
  • b84cc97df7 Minor changes. Sergey Poznyakoff 2003-07-24 14:48:44 +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
  • cd206cd899 Added exitfail.[hc] Sergey Poznyakoff 2003-07-24 14:44:24 +00:00
  • 4dc30d7397 Added to the repository Sergey Poznyakoff 2003-07-24 14:43:30 +00:00
  • 96148b87b7 ChangeLog entries from 1.13.25 through today. Paul Eggert 2003-07-05 21:17:47 +00:00
  • 09c4d7dc3c Mention --index-file, --no-overwrite-dir, new translations. Paul Eggert 2003-07-05 21:12:43 +00:00
  • 46f2740ff9 Add more suggestions. Paul Eggert 2003-07-05 21:06:10 +00:00
  • 88ffc1355e Initial revision Paul Eggert 2003-07-05 20:14:48 +00:00
  • 4a16f6c039 Initial revision Paul Eggert 2003-07-05 20:13:29 +00:00
  • 33cdac5e60 Initial revision Paul Eggert 2003-07-05 20:10:59 +00:00
  • bce576a03b Remove 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
  • f7ccf5eb1c Initial revision Paul Eggert 2003-07-05 20:04:48 +00:00
  • 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. Paul Eggert 2003-07-05 08:24:55 +00:00
  • 4c690508bd Add comment about what other letters are used. Paul Eggert 2003-07-05 08:19:48 +00:00
  • 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. Paul Eggert 2003-07-05 08:18:46 +00:00
  • 40835c2c55 Use newer form for bug report and version. Paul Eggert 2003-07-05 07:55:34 +00:00
  • 1722082cfe Remove PARAMS. Paul Eggert 2003-07-05 07:21:49 +00:00
  • 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. 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
  • 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. Paul Eggert 2003-07-05 00:59:16 +00:00
  • 01d81c7f0f Switch 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
  • e4a052cd21 Convert to UTF-8. Paul Eggert 2003-07-04 23:35:57 +00:00
  • 89662fe926 Convert to UTF-8. Paul Eggert 2003-07-04 23:32:57 +00:00
  • d5100e76cf Convert to UTF-8. Paul Eggert 2003-07-04 23:28:11 +00:00
  • 622724a886 Convert to UTF-8. Paul Eggert 2003-07-04 23:25:38 +00:00
  • b9be191da0 Suggest Autoconf 2.57, Automake 1.7.5, Bison 1.875, gettext 0.12.1. Paul Eggert 2003-07-04 23:15:25 +00:00
  • 121b4241d7 Suggest Autoconf 2.57, Automake 1.7.5, Bison 1.875. Paul Eggert 2003-07-04 23:08:20 +00:00
  • 39f69360f0 Add copyright notice. Paul Eggert 2003-07-04 18:06:51 +00:00
  • f3364ac428 Initial revision Paul Eggert 2003-06-28 21:17:38 +00:00
  • e547e855e9 import from gnulib Paul Eggert 2003-06-04 23:35:46 +00:00
  • bdece51882 import from gnulib Paul Eggert 2003-04-05 06:53:09 +00:00
  • fcb62b60d9 import from gnulib Paul Eggert 2003-03-10 07:31:50 +00:00
  • dc861c7ab9 import from gnulib Paul Eggert 2003-01-10 21:06:49 +00:00
  • 7154feb583 import from gnulib Paul Eggert 2003-01-08 18:42:38 +00:00
  • 4f5e37c861 import from gnulib Paul Eggert 2002-12-06 08:08:13 +00:00
  • 504274b059 import from gnulib Paul Eggert 2002-12-05 20:46:03 +00:00
  • 4ff9279d9d import from gnulib Paul Eggert 2002-11-22 16:25:53 +00:00
  • b94aa0bc5f (print_copyright) - fix typo (use print_unicode_char, not print_unicode_success) kaun 2002-08-02 00:04:07 +00:00
  • 784a497c40 (strtoll): Depend on HAVE_LONG_LONG, not HAVE_UNSIGNED_LONG_LONG. Paul Eggert 2002-07-09 17:40:33 +00:00
  • f2daf2e598 import from gnulib Paul Eggert 2002-06-26 06:17:35 +00:00