Sergey Poznyakoff
2632f1c8d2
Update calls to xheader_store
2003-12-01 21:19:16 +00:00
Sergey Poznyakoff
4dcf7987f8
(xheader_store): Changed prototype.
2003-12-01 21:19:01 +00:00
Sergey Poznyakoff
374ce58aa0
Initial implementation of GNU/pax sparse file format.
2003-12-01 21:18:30 +00:00
Sergey Poznyakoff
475a54cc06
Updated
2003-12-01 21:18:10 +00:00
Sergey Poznyakoff
b741d17b27
Updated
2003-11-30 21:19:31 +00:00
Sergey Poznyakoff
a41d27ff5b
Check for setlocale. Thanks Bruno Haible for reporting.
2003-11-30 21:18:12 +00:00
Sergey Poznyakoff
869326ae90
Updated
2003-11-25 07:05:15 +00:00
Sergey Poznyakoff
25d9ca1163
(write_gnu_long_link): Use oldgnu magic with @LongLink blocks.
2003-11-25 07:04:45 +00:00
Sergey Poznyakoff
d7e8c16a89
Updated
2003-11-17 15:21:57 +00:00
Sergey Poznyakoff
8d6e47cc7f
Support for star sparse format
2003-11-17 15:20:46 +00:00
Sergey Poznyakoff
b3404769c3
Updated
2003-11-17 11:07:26 +00:00
Sergey Poznyakoff
bb798080be
(diff_archive): Use sparse_diff_file.
2003-11-17 11:05:18 +00:00
Sergey Poznyakoff
d4e70d3656
(sys_compare_uid,sys_compare_gid): New functions
...
(sys_compare_uid_gid): Removed.
(sys_compare_links): Changed declaration
2003-11-17 11:05:06 +00:00
Sergey Poznyakoff
82e94dab6d
(sys_compare_uid,sys_compare_gid): New functions
...
(sys_compare_uid_gid): Removed.
(sys_compare_links,report_difference): Changed prototype
(sparse_diff_file): New function
2003-11-17 11:04:40 +00:00
Sergey Poznyakoff
a8b2b68c33
(sparse_diff_file): New function
2003-11-17 11:04:16 +00:00
Sergey Poznyakoff
40ede4e2df
Updated
2003-11-17 07:44:44 +00:00
Sergey Poznyakoff
22ae47de82
Use new diagnostics functions.
2003-11-17 07:39:33 +00:00
Sergey Poznyakoff
7c05e2f650
(close_diag,open_diag,read_diag_details)
...
(readlink_diag,savedir_diag,seek_diag_details,stat_diag): New
diagnostics functions.
2003-11-17 07:39:09 +00:00
Sergey Poznyakoff
80e5de9310
Minor changes
2003-11-17 07:38:37 +00:00
Sergey Poznyakoff
3999bf6360
(diff_sparse_files): Temporary placeholder.
2003-11-17 07:38:03 +00:00
Sergey Poznyakoff
87fa28ed2a
Use new sparse file interface.
2003-11-17 07:37:03 +00:00
Sergey Poznyakoff
3cdbeffe30
Major rewrite.
2003-11-17 07:36:18 +00:00
Sergey Poznyakoff
80b8de13ce
(struct sp_array): Declaration from common.h
...
(struct tar_stat_info): New members archive_file_size,
sparse_map_avail,sparse_map.
2003-11-17 07:34:55 +00:00
Sergey Poznyakoff
caa20e5bac
(struct sp_array,sparsearray,sp_array_size)
...
(init_sparsearray,fill_in_sparse_array): Removed
(enum dump_status): New data type
(pad_archive,close_diag,open_diag,read_diag_details)
(readlink_diag,savedir_diag,seek_diag_details,stat_diag): New
functions.
(sparse_file_p,sparse_dump_file,sparse_extract_file): New
functions.
2003-11-17 07:34:16 +00:00
Sergey Poznyakoff
18ef8acac5
Added sparse.c
2003-11-17 07:32:37 +00:00
Sergey Poznyakoff
fad21ebf58
Updated
2003-11-14 13:33:30 +00:00
Sergey Poznyakoff
69bbe71607
Fixed check for setsockopt
2003-11-14 13:33:11 +00:00
Sergey Poznyakoff
7836f927b3
Updated
2003-11-14 12:28:06 +00:00
Sergey Poznyakoff
8c0a6b24b2
Do not zero-terminate name field if
...
the name is exactly 100 characters long.
(write_ustar_long_name): Fixed cheking for unsplittable
names.
2003-11-14 12:27:50 +00:00
Sergey Poznyakoff
ebeb3d4f30
Updated
2003-11-14 09:58:11 +00:00
Sergey Poznyakoff
3bfdc3f8ce
(safer_name_suffix): If the input file name ends with a slash, output one should do so as well.
2003-11-14 09:57:49 +00:00
Sergey Poznyakoff
bc73e3d68d
Removed debugging hook
2003-11-14 09:56:11 +00:00
Sergey Poznyakoff
5f152198cb
Updated
2003-11-14 09:28:41 +00:00
Sergey Poznyakoff
8f5dc5ffa4
Documented --format=ustar
2003-11-14 09:28:18 +00:00
Sergey Poznyakoff
f92c7cf4c8
(start_header): Removed debugging hook
...
(dump_file): Fixed handling of linkname field.
2003-11-14 09:27:50 +00:00
Sergey Poznyakoff
ca99923dcd
Updated
2003-11-13 22:28:20 +00:00
Sergey Poznyakoff
347ea38cc4
Updated
2003-11-13 22:27:56 +00:00
Sergey Poznyakoff
7e2f7ead1c
New option --format=ustar forces POSIX.1-1988 archive format.
2003-11-13 22:27:44 +00:00
Sergey Poznyakoff
052118a907
(safer_name_suffix): Skip leading ./
2003-11-13 22:27:23 +00:00
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