Commit Graph

950 Commits

Author SHA1 Message Date
Sergey Poznyakoff
fe4ee38fce Added POSIX.1-1988 support. 2003-11-13 22:27:09 +00:00
Sergey Poznyakoff
040bc32535 (archive_format): USTAR_FORMAT: New type. 2003-11-13 22:26:55 +00:00
Sergey Poznyakoff
d4f872de37 Updated 2003-11-13 08:49:10 +00:00
Sergey Poznyakoff
4ed709c3c2 (atime_decoder,gid_decoder,ctime_decoder)
(mtime_decoder,size_decoder,uid_decoder): Use xstrtoumax.
Fixes "pax-big-10g" bug
2003-11-13 08:47:25 +00:00
Sergey Poznyakoff
c95535bae8 (all_names_found): Check if the argument
contains valid filename. Fixes coredump on "not_a_tar_file"
2003-11-13 08:46:53 +00:00
Sergey Poznyakoff
cc8628df0c (read_and): Initialize current_stat_info
and extended_header at the start of the loop.
2003-11-13 08:46:26 +00:00
Paul Eggert
572225dfdc Fix some C compatibility bugs reported by Joerg Schilling. 2003-11-13 06:23:23 +00:00
Sergey Poznyakoff
182091e79f Updated 2003-11-12 11:46:26 +00:00
Sergey Poznyakoff
f035e8f9e2 (decode_header): Initialize st_atime and st_ctime. 2003-11-12 11:46:04 +00:00
Sergey Poznyakoff
8a3b098acf Update 2003-11-11 15:03:06 +00:00
Sergey Poznyakoff
8cea4725f4 Fixed spelling. Thanks Martin Buchholz
<martin@xemacs.org> for spotting.
2003-11-11 15:02:27 +00:00
Sergey Poznyakoff
f6be77cada (tar_save_LIBS): Bugfix. Thanks Adrian
Bunk <bunk@fs.tum.de> for reporting.
2003-11-11 15:01:13 +00:00
Paul Eggert
4414f1a82c Make xhdr_tab extern, not static. 2003-11-05 01:33:35 +00:00
Paul Eggert
761802e87a Include bounds in forward declaration for xhdr_tab. 2003-11-03 23:03:35 +00:00
Paul Eggert
b7ed638806 * system.c (sys_spawn_shell): Cast trailing null to (char *). 2003-10-27 05:41:15 +00:00
Sergey Poznyakoff
5d0b6564f3 Updated 2003-10-19 19:34:51 +00:00
Sergey Poznyakoff
9e445dcdd1 Texinfo does not like macros in @copying and @shorttitlepage text... 2003-10-19 19:17:39 +00:00
Sergey Poznyakoff
c2ba0ffa3e Documented new features. 2003-10-19 19:05:45 +00:00
Sergey Poznyakoff
4bc226bb42 (decode_options): Removed superfluous archive format check 2003-10-19 19:02:03 +00:00
Sergey Poznyakoff
1a1f2d33d5 Updated 2003-10-19 18:56:49 +00:00
Sergey Poznyakoff
80088dcafc Updated 2003-10-08 11:21:34 +00:00
Sergey Poznyakoff
006d3dc1d5 [MSDOS]: Fixed spelling of EACCES. Added macro overriding broken mkdir prototypes. 2003-10-08 11:18:01 +00:00
Sergey Poznyakoff
80e978dc2e Removed spurious includes. 2003-10-08 11:17:52 +00:00
Sergey Poznyakoff
89d2ad35e6 Added missing includes. 2003-10-08 11:17:36 +00:00
Sergey Poznyakoff
bf6b473b3b Added missing headers 2003-10-08 11:17:23 +00:00
Sergey Poznyakoff
151d1386e1 Added Wojciech Polak 2003-10-08 11:17:11 +00:00
Sergey Poznyakoff
32c1e664e5 Updated 2003-10-08 11:16:47 +00:00
Sergey Poznyakoff
cb090cfe82 Added checks for missing functions. Raised version number to indicate alpha release. 2003-10-08 11:16:37 +00:00
Paul Eggert
1e7d274cd8 Fix some misspellings. 2003-10-04 22:30:52 +00:00
Sergey Poznyakoff
4f644c3479 Updated 2003-10-04 18:22:46 +00:00
Sergey Poznyakoff
0008f61237 Added system.c 2003-10-04 18:19:34 +00:00
Sergey Poznyakoff
a0d91086c4 Moved system dependencies to system.c 2003-10-04 18:18:02 +00:00
Sergey Poznyakoff
c1b9212b16 Moved system dependencies to system.c 2003-10-04 18:14:32 +00:00
Sergey Poznyakoff
3b76d26206 (SET_BINARY_MODE, ERRNO_IS_EACCESS): New defines 2003-10-04 18:13:51 +00:00
Sergey Poznyakoff
719c762d80 Prototypes for functions from system.c 2003-10-04 18:13:37 +00:00
Sergey Poznyakoff
b085ca3097 System-dependent functions 2003-10-04 18:13:02 +00:00
Sergey Poznyakoff
cf08a6de1b Added missing files. 2003-10-04 18:12:16 +00:00
Sergey Poznyakoff
86f7407ffe Check for dev_t and ino_t. 2003-10-04 18:10:08 +00:00
Sergey Poznyakoff
33b04d5ecd Updated 2003-10-04 14:09:46 +00:00
Sergey Poznyakoff
eb6bef9909 New option --occurrence 2003-10-04 14:08:16 +00:00
Sergey Poznyakoff
bbbbf42fa6 Updated 2003-10-04 14:05:14 +00:00
Sergey Poznyakoff
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.
2003-10-04 13:50:41 +00:00
Sergey Poznyakoff
dcb7c93527 (read_and): Honor --occurence option. 2003-10-04 13:50:20 +00:00
Sergey Poznyakoff
f4935ab55d (delete_archive_members): Honor --occurence option. 2003-10-04 13:49:46 +00:00
Sergey Poznyakoff
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
2003-10-04 13:49:25 +00:00
Sergey Poznyakoff
35d44a05eb Updated 2003-10-04 13:48:52 +00:00
Sergey Poznyakoff
4cf3121472 Updated 2003-10-02 15:08:01 +00:00
Sergey Poznyakoff
7c1a245918 Updated 2003-10-02 15:07:25 +00:00
Sergey Poznyakoff
634baf4d87 Updated 2003-10-02 14:38:23 +00:00
Sergey Poznyakoff
a6344f97a6 Removed extra precaution regarding subcommand_option == CAT_SUBCOMMAND 2003-10-02 14:37:24 +00:00