Commit Graph

  • ca99923dcd Updated Sergey Poznyakoff 2003-11-13 22:28:20 +00:00
  • 347ea38cc4 Updated Sergey Poznyakoff 2003-11-13 22:27:56 +00:00
  • 7e2f7ead1c New option --format=ustar forces POSIX.1-1988 archive format. Sergey Poznyakoff 2003-11-13 22:27:44 +00:00
  • 052118a907 (safer_name_suffix): Skip leading ./ Sergey Poznyakoff 2003-11-13 22:27:23 +00:00
  • fe4ee38fce Added POSIX.1-1988 support. Sergey Poznyakoff 2003-11-13 22:27:09 +00:00
  • 040bc32535 (archive_format): USTAR_FORMAT: New type. Sergey Poznyakoff 2003-11-13 22:26:55 +00:00
  • d4f872de37 Updated Sergey Poznyakoff 2003-11-13 08:49:10 +00:00
  • 4ed709c3c2 (atime_decoder,gid_decoder,ctime_decoder) (mtime_decoder,size_decoder,uid_decoder): Use xstrtoumax. Fixes "pax-big-10g" bug Sergey Poznyakoff 2003-11-13 08:47:25 +00:00
  • c95535bae8 (all_names_found): Check if the argument contains valid filename. Fixes coredump on "not_a_tar_file" Sergey Poznyakoff 2003-11-13 08:46:53 +00:00
  • cc8628df0c (read_and): Initialize current_stat_info and extended_header at the start of the loop. Sergey Poznyakoff 2003-11-13 08:46:26 +00:00
  • 572225dfdc Fix some C compatibility bugs reported by Joerg Schilling. Paul Eggert 2003-11-13 06:23:23 +00:00
  • 182091e79f Updated Sergey Poznyakoff 2003-11-12 11:46:26 +00:00
  • f035e8f9e2 (decode_header): Initialize st_atime and st_ctime. Sergey Poznyakoff 2003-11-12 11:46:04 +00:00
  • 8a3b098acf Update Sergey Poznyakoff 2003-11-11 15:03:06 +00:00
  • 8cea4725f4 Fixed spelling. Thanks Martin Buchholz <martin@xemacs.org> for spotting. Sergey Poznyakoff 2003-11-11 15:02:27 +00:00
  • f6be77cada (tar_save_LIBS): Bugfix. Thanks Adrian Bunk <bunk@fs.tum.de> for reporting. Sergey Poznyakoff 2003-11-11 15:01:13 +00:00
  • 4414f1a82c Make xhdr_tab extern, not static. Paul Eggert 2003-11-05 01:33:35 +00:00
  • 761802e87a Include bounds in forward declaration for xhdr_tab. Paul Eggert 2003-11-03 23:03:35 +00:00
  • b7ed638806 * system.c (sys_spawn_shell): Cast trailing null to (char *). Paul Eggert 2003-10-27 05:41:15 +00:00
  • 5d0b6564f3 Updated Sergey Poznyakoff 2003-10-19 19:34:51 +00:00
  • 9e445dcdd1 Texinfo does not like macros in @copying and @shorttitlepage text... Sergey Poznyakoff 2003-10-19 19:17:39 +00:00
  • c2ba0ffa3e Documented new features. Sergey Poznyakoff 2003-10-19 19:05:45 +00:00
  • 4bc226bb42 (decode_options): Removed superfluous archive format check Sergey Poznyakoff 2003-10-19 19:02:03 +00:00
  • 1a1f2d33d5 Updated Sergey Poznyakoff 2003-10-19 18:56:49 +00:00
  • 80088dcafc Updated Sergey Poznyakoff 2003-10-08 11:21:34 +00:00
  • 006d3dc1d5 [MSDOS]: Fixed spelling of EACCES. Added macro overriding broken mkdir prototypes. Sergey Poznyakoff 2003-10-08 11:18:01 +00:00
  • 80e978dc2e Removed spurious includes. Sergey Poznyakoff 2003-10-08 11:17:52 +00:00
  • 89d2ad35e6 Added missing includes. Sergey Poznyakoff 2003-10-08 11:17:36 +00:00
  • bf6b473b3b Added missing headers Sergey Poznyakoff 2003-10-08 11:17:23 +00:00
  • 151d1386e1 Added Wojciech Polak Sergey Poznyakoff 2003-10-08 11:17:11 +00:00
  • 32c1e664e5 Updated Sergey Poznyakoff 2003-10-08 11:16:47 +00:00
  • cb090cfe82 Added checks for missing functions. Raised version number to indicate alpha release. Sergey Poznyakoff 2003-10-08 11:16:37 +00:00
  • 1e7d274cd8 Fix some misspellings. Paul Eggert 2003-10-04 22:30:52 +00:00
  • 4f644c3479 Updated Sergey Poznyakoff 2003-10-04 18:22:46 +00:00
  • 0008f61237 Added system.c Sergey Poznyakoff 2003-10-04 18:19:34 +00:00
  • a0d91086c4 Moved system dependencies to system.c Sergey Poznyakoff 2003-10-04 18:18:02 +00:00
  • c1b9212b16 Moved system dependencies to system.c Sergey Poznyakoff 2003-10-04 18:14:32 +00:00
  • 3b76d26206 (SET_BINARY_MODE, ERRNO_IS_EACCESS): New defines Sergey Poznyakoff 2003-10-04 18:13:51 +00:00
  • 719c762d80 Prototypes for functions from system.c Sergey Poznyakoff 2003-10-04 18:13:37 +00:00
  • b085ca3097 System-dependent functions Sergey Poznyakoff 2003-10-04 18:13:02 +00:00
  • cf08a6de1b Added missing files. Sergey Poznyakoff 2003-10-04 18:12:16 +00:00
  • 86f7407ffe Check for dev_t and ino_t. Sergey Poznyakoff 2003-10-04 18:10:08 +00:00
  • 33b04d5ecd Updated Sergey Poznyakoff 2003-10-04 14:09:46 +00:00
  • eb6bef9909 New option --occurrence Sergey Poznyakoff 2003-10-04 14:08:16 +00:00
  • bbbbf42fa6 Updated Sergey Poznyakoff 2003-10-04 14:05:14 +00:00
  • 91493ea9b6 Count number of occurrences of each name in the archive. (name_match): Honor --occurence option. (names_done): Removed (all_names_found,names_notfound): Rewritten. Sergey Poznyakoff 2003-10-04 13:50:41 +00:00
  • dcb7c93527 (read_and): Honor --occurence option. Sergey Poznyakoff 2003-10-04 13:50:20 +00:00
  • f4935ab55d (delete_archive_members): Honor --occurence option. Sergey Poznyakoff 2003-10-04 13:49:46 +00:00
  • 660c6d9b64 (occurrence_option): New global (struct name): Changed found' member to uintmax_t found_count'. (names_done): Removed (all_names_found): Changed prototype. (ISFOUND,WASFOUND): New macros Sergey Poznyakoff 2003-10-04 13:49:25 +00:00
  • 35d44a05eb Updated Sergey Poznyakoff 2003-10-04 13:48:52 +00:00
  • 4cf3121472 Updated Sergey Poznyakoff 2003-10-02 15:08:01 +00:00
  • 7c1a245918 Updated Sergey Poznyakoff 2003-10-02 15:07:25 +00:00
  • 634baf4d87 Updated Sergey Poznyakoff 2003-10-02 14:38:23 +00:00
  • a6344f97a6 Removed extra precaution regarding subcommand_option == CAT_SUBCOMMAND Sergey Poznyakoff 2003-10-02 14:37:24 +00:00
  • e23ad5b4f6 Updated Sergey Poznyakoff 2003-10-02 10:42:14 +00:00
  • f364d50661 Take regexps into account Sergey Poznyakoff 2003-10-02 10:41:48 +00:00
  • 17878ad672 New option --first-copy Sergey Poznyakoff 2003-10-02 10:29:43 +00:00
  • 13be4005e7 Updated Sergey Poznyakoff 2003-10-02 10:29:18 +00:00
  • 6c16197226 New option --first-copy Sergey Poznyakoff 2003-10-02 10:29:00 +00:00
  • 05b3fdccc1 (read_and): Use all_names_found() as `while' condition. Sergey Poznyakoff 2003-10-02 10:28:45 +00:00
  • 9373182407 (names_done): New function. Sergey Poznyakoff 2003-10-02 10:28:30 +00:00
  • 00ac26f00c Don't translate "Copyright". Paul Eggert 2003-09-24 19:11:44 +00:00
  • 07286647fb --strip strips file system prefix too, and it counts adjacent slashes as if they were one slash. Paul Eggert 2003-09-22 18:54:50 +00:00
  • b0e8ba8839 (extracting untrusted archives): New section. Paul Eggert 2003-09-22 18:26:50 +00:00
  • 21dd6332cc * README-alpha: Document maintainer tool assumptions a bit. * configure.ac (AC_AIX, AC_MINIX): Remove. * lib/.cvsignore, m4/.cvsignore: Update. Paul Eggert 2003-09-18 06:29:27 +00:00
  • 867f933aac Add restrict.m4, time_r.m4. Paul Eggert 2003-09-18 06:28:13 +00:00
  • 6848f79e3b Add exit.h, time_r.c, time_r.h. Paul Eggert 2003-09-18 06:27:52 +00:00
  • 491bcfb153 (AC_AIX, AC_MINIX): Remove; subsumed by gl_USE_SYSTEM_EXTENSIONS. Paul Eggert 2003-09-18 06:27:34 +00:00
  • 6de6421787 Document maintainer tool assumptions a bit. GNU 'sed' is no longer required. For GNU m4 1.4, suggest the patch in Debian bug 211447. Fix minor misspellings/whitespace nits. Paul Eggert 2003-09-18 06:26:47 +00:00
  • 0e1e4d8381 bootstrap: Don't use "for option; do". Paul Eggert 2003-09-17 17:35:16 +00:00
  • 54e322110c Don't use "for option; do"; Solaris 8 /bin/sh doesn't like that. Paul Eggert 2003-09-17 17:33:32 +00:00
  • 659f70a38a Updated Sergey Poznyakoff 2003-09-17 12:37:58 +00:00
  • 9e783c548c Updated Sergey Poznyakoff 2003-09-17 10:30:45 +00:00
  • a0c656364a Updated Sergey Poznyakoff 2003-09-17 10:19:01 +00:00
  • 674691c7ba Added src/xheader.c Sergey Poznyakoff 2003-09-17 10:18:11 +00:00
  • 0289902e4a (cut_path_elements): Added proto. Sergey Poznyakoff 2003-09-17 10:17:09 +00:00
  • 187c23b8d7 Updated Sergey Poznyakoff 2003-09-05 13:25:32 +00:00
  • 91b2d65e9d Use ngettext where appropriate. Sergey Poznyakoff 2003-09-05 13:24:15 +00:00
  • 99f41a1224 Update Sergey Poznyakoff 2003-09-04 15:49:37 +00:00
  • eada0a9b35 New option --strip-path=NUM. (decode_options) Assign boolean values to bool variables. Sergey Poznyakoff 2003-09-04 15:48:02 +00:00
  • 3590887776 (cut_path_elements): New functon. Sergey Poznyakoff 2003-09-04 15:47:26 +00:00
  • ddab1f615e (extract_archive): Implemented --strip-path Sergey Poznyakoff 2003-09-04 15:44:44 +00:00
  • d93cbfbf0b (strip_path_elements): New variable. Sergey Poznyakoff 2003-09-04 15:44:07 +00:00
  • 5b9d8c93c7 Updated Sergey Poznyakoff 2003-09-04 15:43:35 +00:00
  • 08cfd54f54 Added *.shar.gz Sergey Poznyakoff 2003-09-04 15:42:55 +00:00
  • 75b511727c Updated Sergey Poznyakoff 2003-09-04 14:01:22 +00:00
  • a86cdfa58b Explicitly request GNU format. This will disappear when GNU extended header keywords are working. Sergey Poznyakoff 2003-09-04 14:00:25 +00:00
  • f3875c4a26 (xheader_decode): Store the header as well (for eventual delete). Sergey Poznyakoff 2003-09-04 13:59:52 +00:00
  • 8b4453b4e2 (main): Do not check for volume_label_option unless subcommand_option is CREATE_SUBCOMMAND. Sergey Poznyakoff 2003-09-04 13:59:35 +00:00
  • 7645d20465 (read_header): Minor change. Sergey Poznyakoff 2003-09-04 13:59:03 +00:00
  • 08780d289d Fixed deletion from the POSIX archives. Sergey Poznyakoff 2003-09-04 13:58:42 +00:00
  • e400810b5d Updated Sergey Poznyakoff 2003-09-04 09:38:14 +00:00
  • 3f998f69b9 (decode_record): Reversed the return condition. Sergey Poznyakoff 2003-09-04 09:37:48 +00:00
  • aea0a1d970 Support for "linkpath" extended keyword Sergey Poznyakoff 2003-09-04 09:37:05 +00:00
  • 87ff702389 Updated Sergey Poznyakoff 2003-09-03 11:03:58 +00:00
  • c92c357a62 Updated Sergey Poznyakoff 2003-09-03 11:03:23 +00:00
  • 0ba3b75ad4 Use DEFAULT_ARCHIVE_FORMAT macro (archive_format_string): New function. (usage): Updated help output. Sergey Poznyakoff 2003-09-03 11:03:07 +00:00
  • 9f0cdc8f56 Allow to redefine the default output format. Sergey Poznyakoff 2003-09-03 11:02:38 +00:00
  • c54ec5a895 Remove some lint caught by gcc -Wall -W, etc. Paul Eggert 2003-09-03 06:23:42 +00:00
  • 10edb315da (struct xhdr_tab.keyword): Now pointer to const. (struct xhdr_tab.coder, struct xhdr_tab.decoder, locate_handler, decode_record, xheader_store, xheader_print, code_string, code_time, code_num, dummy_coder, dummy_decoder, atime_coder, atime_decoder, gid_coder, gid_decoder, gname_coder, gname_decoder, linkpath_coder, linkpath_decoder, ctime_coder, ctime_decoder, mtime_coder, mtime_decoder, path_coder, path_decoder, size_coder, size_decoder, uid_coder, uid_decoder, uname_coder, uname_decoder): Use pointers to const when possible. (xhdr_tab): Now const. Paul Eggert 2003-09-03 06:22:34 +00:00