67d29a4d60
Minor changes
Sergey Poznyakoff
2004-02-17 13:33:14 +00:00
df7792b5d8
Removed accumulator stuff in favor of obstack. get_directory_contents): Split into two functions
Sergey Poznyakoff
2004-02-17 13:32:41 +00:00
d7860cb091
Added recurse.sh and mksparse.c
Sergey Poznyakoff
2004-01-03 22:27:58 +00:00
1665d38fb7
New file.
Sergey Poznyakoff
2004-01-03 22:27:36 +00:00
da99cd963d
New test case.
Sergey Poznyakoff
2004-01-03 22:26:58 +00:00
bda7d59010
(time_to_start_writing): Changed data type.
Sergey Poznyakoff
2004-01-03 22:26:30 +00:00
463e7278f4
(decode_options): More option compatibility checks (moved from buffer.c)
Sergey Poznyakoff
2004-01-03 22:26:11 +00:00
829b1dc328
Updated assignment to write_archive_to_stdout
Sergey Poznyakoff
2004-01-03 22:25:41 +00:00
dd6094f6c0
Updated invocations of safer_name_suffix
Sergey Poznyakoff
2004-01-03 22:25:24 +00:00
bc89f023c1
(maybe_backup_file): Changed return type
Sergey Poznyakoff
2004-01-03 22:24:35 +00:00
95be2c50b4
(new_volume,check_label_pattern): Changed return type. (time_to_start_writing): Changed data type (file_to_switch_to): Removed. Variable never assigned to. (open_archive) Moved option compatibility checks to tar.c Other minor changes.
Sergey Poznyakoff
2004-01-03 22:23:48 +00:00
7631b4e595
New option --no-po
Sergey Poznyakoff
2004-01-03 22:22:01 +00:00
c506c33ad3
(safer_name_suffix): Reverted change made 2003-11-14. Reason: Discussion with Paul Eggert and Jean-Louis Martineau. See also ChangeLog entry from 1999-08-14.
uid65697
2003-12-25 10:20:54 +00:00
3710b34c7e
(code_time,decode_time): Support for subsecond precision. (atime_coder,atime_decoder,ctime_coder,ctime_decoder) (mtime_coder,mtime_decoder): Update invocations of code_time and decode_time. (gid_decoder,size_decoder,uid_decoder,sparse_size_decoder) (sparse_numblocks_decoder,sparse_offset_decoder) (sparse_numbytes_decoder): Updated
uid65697
2003-12-25 10:20:43 +00:00
ad37f06975
(tar_stat_info.atime_nsec,mtime_nsec,ctime_nsec): New members.
uid65697
2003-12-25 10:20:32 +00:00
12b111ffa3
(sys_stat_nanoseconds): New function
uid65697
2003-12-25 10:20:19 +00:00
5160a64f71
(sparse_scan_file): Correctly handle files with a hole at the end. (sparse_dump_region,sparse_extract_region): Allow for zero size trailing blocks
uid65697
2003-12-25 10:20:05 +00:00
f30c03c934
(safer_name_suffix): Reverted change made 2003-11-14. Reason: Discussion with Paul Eggert and Jean-Louis Martineau. See also ChangeLog entry from 1999-08-14.
uid65697
2003-12-25 10:19:40 +00:00
67a6a93b2f
(read_and): Treat only two successive zero filled blocks as an EOF indicator. Issue a warning if a single one is encountered.
uid65697
2003-12-25 10:19:24 +00:00
50b2227279
(print_header): Use archive_file_size member when printing real file size.
uid65697
2003-12-25 10:19:12 +00:00
defde32533
(decode_header): Discern between pax and ustar formats
uid65697
2003-12-25 10:19:00 +00:00
fc184a85e1
(write_directory_file): Use sys_truncate
uid65697
2003-12-25 10:18:48 +00:00
f7ce5a4ec5
(dump_file0): Use sys_stat_nanoseconds().
uid65697
2003-12-25 10:18:37 +00:00
2a027394ef
(sys_stat_nanoseconds): New function
uid65697
2003-12-25 10:18:25 +00:00
278a8945a6
(short_read): Issue a warning on short reads.
uid65697
2003-12-25 10:18:14 +00:00
bb0b5c01c9
Check for varios members of struct stat that may represent file modification times with a subsecond precision. Check for utimes (for future use)
uid65697
2003-12-25 10:18:00 +00:00
15cb6d782c
Raised version number to 1.13.92
uid65697
2003-12-25 10:17:48 +00:00
5f32345fe6
Minor fix
Sergey Poznyakoff
2003-12-01 21:28:11 +00:00
fa2801b6dc
(struct xhdr_tab.coder; all coder function): Added extra argument Implemeted GNU.sparse.* keywords.
Sergey Poznyakoff
2003-12-01 21:21:11 +00:00
f193c4c04a
(usage): Cleaned up the sample argument to --newer option. (decode_options): Allow --sparse for POSIX_FORMAT archives.
Sergey Poznyakoff
2003-12-01 21:20:47 +00:00
47e73c7a44
(extract_archive): Check reported size vs. archive file size to determine if we have to do with a sparse file.
Sergey Poznyakoff
2003-12-01 21:19:37 +00:00
2632f1c8d2
Update calls to xheader_store
Sergey Poznyakoff
2003-12-01 21:19:16 +00:00
87fa28ed2a
Use new sparse file interface.
Sergey Poznyakoff
2003-11-17 07:37:03 +00:00
3cdbeffe30
Major rewrite.
Sergey Poznyakoff
2003-11-17 07:36:18 +00:00
80b8de13ce
(struct sp_array): Declaration from common.h (struct tar_stat_info): New members archive_file_size, sparse_map_avail,sparse_map.
Sergey Poznyakoff
2003-11-17 07:34:55 +00:00
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.
Sergey Poznyakoff
2003-11-17 07:34:16 +00:00
8c0a6b24b2
Do not zero-terminate name field if the name is exactly 100 characters long. (write_ustar_long_name): Fixed cheking for unsplittable names.
Sergey Poznyakoff
2003-11-14 12:27:50 +00:00
3bfdc3f8ce
(safer_name_suffix): If the input file name ends with a slash, output one should do so as well.
Sergey Poznyakoff
2003-11-14 09:57:49 +00:00