Commit Graph

853 Commits

Author SHA1 Message Date
Paul Eggert
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.
2003-09-03 06:19:00 +00:00
Paul Eggert
a546fc7c21 (read_and): Abort if HEADER_SUCCESS_EXTENDED occurs, as it's not
possible.  Pass false to read_header, not 0.
2003-09-03 06:15:32 +00:00
Paul Eggert
86a9b9261d (delete_archive_members): Handle case of
HEADER_SUCCESS_EXTENDED followed by HEADER_FAILURE.
Pass true/false to read_header, not 1/0.
2003-09-03 06:14:37 +00:00
Paul Eggert
7653d2f6b8 (write_extended): Remove unused local 'bufsize'. 2003-09-03 06:13:26 +00:00
Paul Eggert
2c390b2c21 (verify_volume): read_header (0) -> read_header (false), since
read_header accepts a bool.
2003-09-03 06:11:52 +00:00
Paul Eggert
c4d396f8d1 (destroy_stat, xheader_decode, xheader_store,
xheader_read, xheader_finish, xheader_destroy): Add decls;
required in C99.
2003-09-03 06:10:55 +00:00
Sergey Poznyakoff
40138ceb05 Updated 2003-09-03 00:06:12 +00:00
Sergey Poznyakoff
99a5f5d4f9 (xhdr_tab): Reserved GNU keywords (commented out for the time being) 2003-09-03 00:03:32 +00:00
Sergey Poznyakoff
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.
2003-09-03 00:03:09 +00:00
Sergey Poznyakoff
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().
2003-09-03 00:02:32 +00:00
Paul Eggert
01f19e973b Merge changes from gnulib. 2003-09-02 04:09:03 +00:00
Sergey Poznyakoff
c76e8a861e Updated 2003-09-01 17:45:10 +00:00
Sergey Poznyakoff
8750043986 Added new files 2003-09-01 17:43:24 +00:00
Sergey Poznyakoff
49ce0ebbea Updated 2003-09-01 17:20:47 +00:00
Sergey Poznyakoff
9e4f9e232c obstack is autodetermined... 2003-09-01 17:19:56 +00:00
Sergey Poznyakoff
c3440ae0c9 Added 'gl_OBSTACK' 2003-09-01 17:11:11 +00:00
Sergey Poznyakoff
d71b31e241 Added obstack 2003-09-01 17:06:11 +00:00
Sergey Poznyakoff
4d0ac610b0 Minor formatting change 2003-09-01 17:04:21 +00:00
Sergey Poznyakoff
c22a8b44d7 Added obstack. 2003-09-01 17:03:49 +00:00
Sergey Poznyakoff
4189af3785 Implemented coder functions. 2003-09-01 17:03:33 +00:00
Sergey Poznyakoff
33b63ebe94 (OLDGNU_COMPATIBILITY): Removed
(struct extra_header): Removed unused structure.
(union block.extra_header): Removed unused member.
2003-09-01 17:03:07 +00:00
Sergey Poznyakoff
879ae47aa1 New option --format 2003-09-01 17:02:45 +00:00
Sergey Poznyakoff
53eec8f039 (print_header): Take user/group from current_stat_info. 2003-09-01 17:02:11 +00:00
Sergey Poznyakoff
83c68b4e40 (gid_to_gname,gname_to_gid,uid_to_uname,uname_to_uid): Changed prototypes 2003-09-01 17:01:35 +00:00
Sergey Poznyakoff
cb3ec64970 (string_to_chars): New function.
(write_extended): New function
(start_header): Create extended POSIX headers if necessary.
(finish_header): Likewise.
2003-09-01 17:00:26 +00:00
Sergey Poznyakoff
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.
2003-09-01 16:59:56 +00:00
Sergey Poznyakoff
7657bd4323 Updated 2003-08-31 23:03:40 +00:00
Sergey Poznyakoff
518748f939 Use current_stat_info 2003-08-31 22:55:21 +00:00
Sergey Poznyakoff
db783659b0 (destroy_stat): New function. 2003-08-31 22:45:58 +00:00
Sergey Poznyakoff
d858a433c8 Use current_stat_info 2003-08-31 22:41:32 +00:00
Sergey Poznyakoff
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.
2003-08-31 22:40:34 +00:00
Sergey Poznyakoff
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.
2003-08-31 22:39:43 +00:00
Sergey Poznyakoff
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
2003-08-31 22:38:55 +00:00
Sergey Poznyakoff
4e59b9d7e3 Added xheader.c 2003-08-31 22:36:09 +00:00
Sergey Poznyakoff
5be0f2ba49 New file 2003-08-31 22:35:35 +00:00
Paul Eggert
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).
2003-08-30 05:37:55 +00:00
Sergey Poznyakoff
a18256492a Updated 2003-07-28 12:02:16 +00:00
Sergey Poznyakoff
cab627b49d Updated 2003-07-28 11:57:26 +00:00
Sergey Poznyakoff
317fbb9d5f Removed references to the obsolete command line options. 2003-07-28 11:41:17 +00:00
Sergey Poznyakoff
a687cf05b7 Removed support for the obsolete command line options. 2003-07-28 11:40:35 +00:00
Sergey Poznyakoff
df2f967cdd Updated 2003-07-27 12:14:22 +00:00
Sergey Poznyakoff
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.
2003-07-27 12:01:59 +00:00
Sergey Poznyakoff
2adfef0149 (print_header): Use orig_file_name. 2003-07-27 12:01:04 +00:00
Sergey Poznyakoff
bee35fc152 /tmp/F 2003-07-27 12:00:31 +00:00
Sergey Poznyakoff
1fef6258aa (check_links_option): New variable
(orig_file_name): New variable
(check_links): New proto.
2003-07-27 11:59:58 +00:00
Sergey Poznyakoff
b68057816b Updated 2003-07-27 11:59:30 +00:00
Sergey Poznyakoff
6dd7e857e5 Updated 2003-07-25 15:08:45 +00:00
Sergey Poznyakoff
eb42c0070d (tar.dvi): Fixed TEXINPUTS value. 2003-07-25 15:08:17 +00:00
Sergey Poznyakoff
d4bcefe915 Started the entry for 1.13.26 2003-07-25 15:06:32 +00:00
Sergey Poznyakoff
7219c538eb (print_header): Revised 2003-07-25 15:05:41 +00:00