Commit Graph

  • 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
  • 859ba730d5 coreutils 5.0 version Paul Eggert 2002-05-27 20:05:03 +00:00
  • d1c27c2308 Sync with fileutils Paul Eggert 2002-02-11 14:28:35 +00:00
  • 9ded0a0567 Sync with fileutils Paul Eggert 2002-02-11 14:28:09 +00:00
  • 4bfdfaa270 allow using unicode Paul Eggert 2002-01-26 06:04:19 +00:00
  • ba32aa1147 From textutils 2.1 Paul Eggert 2002-01-22 07:43:55 +00:00
  • bb5b309581 Sync with fileutils. Paul Eggert 2002-01-16 22:43:41 +00:00
  • f762709bb0 Sync with fileutils. Paul Eggert 2001-12-19 15:05:33 +00:00
  • 8225f274ff Add copyright notice. (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached. Merge changes from latest Autoconf CVS. Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p, and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since POSIX decided to standardize on the int flavor of strerror_r. new Paul Eggert 2001-10-20 18:10:52 +00:00
  • e439c9fe36 (jm_PREREQ_ERROR): Do not invoke AC_CHECK_FUNCS with strerror_r, as AC_FUNC_STRERROR_R does that. Check for strerror declaration. Paul Eggert 2001-10-20 18:10:52 +00:00
  • 88711e3972 (jm_AC_PREREQ_XSTRTOUMAX): Check for strtol and strtoimax, as those declarations are made even in the unsigned case. Paul Eggert 2001-09-28 17:53:12 +00:00
  • 06384f1def (jm_AC_PREREQ_XSTRTOIMAX): Check for strtoul and strtoumax, as those declarations are made even in the signed case. Paul Eggert 2001-09-28 17:53:12 +00:00
  • bab605d5bd (strtol): Do not declare if HAVE_DECL_STRTOL. (strtoul): Do not declare if HAVE_DECL_STRTOUL. (strtoimax, strtoumax): Do not declare if already defined as a macro. Paul Eggert 2001-09-28 06:54:20 +00:00
  • 9c93a32114 Initial revision Paul Eggert 2001-09-26 20:54:08 +00:00
  • 7f1bf2e09f just ignore them silently. Paul Eggert 2001-09-26 20:53:42 +00:00
  • 3847d0f51f 1.13.25 Paul Eggert 2001-09-26 20:31:11 +00:00
  • dd83d5dd9d (read_header): Don't keep around extended name and link info indefinitely; keep it only for the next file. This fixes a bug introduced in 1.13.24, and remove the need for some static variables. Set recent_long_name and recent_long_link to zero if there were no long links; this avoids a violation of ANSI C rules for pointers in delete.c. Paul Eggert 2001-09-26 20:15:52 +00:00
  • 1735867f56 new automake patch Paul Eggert 2001-09-26 20:07:51 +00:00
  • fb1c65e512 know -> known From: Jim Meyering <jim@meyering.net> Date: Wed, 26 Sep 2001 19:20:10 +0200 Paul Eggert 2001-09-26 18:46:35 +00:00
  • 1a9ace4d99 Include iconv.h before testing for EILSEQ. Paul Eggert 2001-09-25 22:52:27 +00:00
  • 1ad624bbbc (EILSEQ): Include <time.h> and <wchar.h> if <errno.h> does not define EILSEQ, because BSD/OS 4.1 defines EILSEQ in <wchar.h>, which requires <time.h>. Define a replacement EILSEQ to be ENOENT, not EINVAL, since callers may want to distinguish EINVAL and EILSEQ. Paul Eggert 2001-09-25 18:17:36 +00:00
  • 02a275c6ac (maybe_recoverable): Treat OVERWRITE_OLD_DIRS like DEFAULT_OLD_FILES. Paul Eggert 2001-09-24 18:58:52 +00:00
  • 61170ee840 Don't assume we're using the included libintl. Paul Eggert 2001-09-23 06:40:35 +00:00
  • f42a0e5af3 Version 1.13.24. Paul Eggert 2001-09-23 06:23:14 +00:00
  • e6e72bf7ed Allocate one more byte than the size would indicate, since we're null-terminating. Paul Eggert 2001-09-23 06:18:20 +00:00
  • 1b10ab140f (<libintl.h>): Do not include; no longer needed. (_): Remove; no longer needed. Paul Eggert 2001-09-23 05:37:04 +00:00
  • 9a15fcf491 (write_archive_buffer, close_archive): If an archive is a socket, treat it like a FIFO. Paul Eggert 2001-09-23 05:03:42 +00:00
  • e2b5f1e918 Put copyright notice into documentation. Paul Eggert 2001-09-22 00:47:09 +00:00