projects
/
debian
/
tar
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72e3da5
)
(start_header): Check for GNU_FORMAT if incremental_option is set.
author
Sergey Poznyakoff
<gray@gnu.org.ua>
Mon, 22 Mar 2004 09:16:49 +0000
(09:16 +0000)
committer
Sergey Poznyakoff
<gray@gnu.org.ua>
Mon, 22 Mar 2004 09:16:49 +0000
(09:16 +0000)
src/create.c
patch
|
blob
|
history
diff --git
a/src/create.c
b/src/create.c
index 065e6fafd511fcb454b891cef56c43a91b4d7bba..4c954c46012c38d7f4953518caabdbfffb03f6e6 100644
(file)
--- a/
src/create.c
+++ b/
src/create.c
@@
-668,7
+668,7
@@
start_header (struct tar_stat_info *st)
xheader_store ("ctime", st, NULL);
}
else if (incremental_option)
- if (archive_format == OLDGNU_FORMAT)
+ if (archive_format == OLDGNU_FORMAT
|| archive_format == GNU_FORMAT
)
{
TIME_TO_CHARS (st->stat.st_atime, header->oldgnu_header.atime);
TIME_TO_CHARS (st->stat.st_ctime, header->oldgnu_header.ctime);