1
1
Preserve mtime/atime on compression. (Closes: #286957)
13
15
#include <selinux/selinux.h>
27
28
+ utim.actime = sb->st_atime;
28
29
+ utim.modtime = sb->st_mtime;
29
30
+ utime(compressedName,&utim);
30
31
+ /* If we can't change atime/mtime, it's not a disaster.
31
32
+ It might possibly fail under SELinux. */