Commit Graph

  • 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
  • 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