diff options
Diffstat (limited to 'src/cc4group.c')
| -rw-r--r-- | src/cc4group.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cc4group.c b/src/cc4group.c index 85bc48b..5b3e888 100644 --- a/src/cc4group.c +++ b/src/cc4group.c @@ -1355,6 +1355,12 @@ static bool cc4group_extractChildren(CC4Group* const this, const C4GroupEntryDat } } + struct utimbuf times = {.actime = root->header->Creation, .modtime = root->header->Creation}; + if(utime(tmpPath, ×) == -1) + { + fprintf(stderr, "WARNING: utime: Setting modification time for \"%s\" failed: %s\n", tmpPath, strerror(errno)); + } + success = true; goto ret; } |
