Files
tar/doc
Sergey Poznyakoff 63e092548a Provide a way to explicitly set mtime for extended header ustar blocks.
* src/tar.c (struct textual_date): ts is a copy of the structure,
not a pointer to it. Date is a copy as well, hence the `const' is
taken away.
(get_date_or_file): Return 0/1 depending on success/failure.
Copy timestamp to the `ts' member. Store a copy of the string
in `date'.
(report_textual_dates): Report only if verbose_option is set,
but always free the list.
(expand_pax_option): New function.
(parse_opt): Preprocess the argument to xheader_set_option with
expand_pax_option.
(decode_options): Call report_textual_dates unconditionally.
* src/xheader.c (exthdr_mtime_option, exthdr_mtime)
(globexthdr_mtime_option, globexthdr_mtime): New statics.
(xheader_set_keyword_equal): handle exthdr.mtime and globexthdr.mtime.
(xheader_write): Override `t' argument if a corresponding
exthdr.mtime or globexthdr.mtime option is set.
* NEWS: Update
* doc/tar.texi: Document the changes.
2009-10-07 21:08:29 +03:00
..
2009-03-12 16:15:06 +02:00
2007-09-27 08:05:38 +00:00
2005-05-15 03:59:08 +00:00
2001-08-29 01:20:18 +00:00
2007-10-30 14:58:52 +00:00
2007-06-27 13:30:12 +00:00
2007-09-27 08:05:31 +00:00
2006-07-09 11:25:18 +00:00
2007-06-16 12:09:59 +00:00
2007-06-27 13:30:12 +00:00
2006-06-13 13:35:34 +00:00