projects
/
app.mailtrimmer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0549d2a
)
src/strip.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 4 May 2018 05:57:43 +0000
(13:57 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 4 May 2018 05:57:43 +0000
(13:57 +0800)
src/strip.vala
patch
|
blob
|
history
diff --git
a/src/strip.vala
b/src/strip.vala
index
00c654a
..
1cdb08c
100644
(file)
--- a/
src/strip.vala
+++ b/
src/strip.vala
@@
-725,6
+725,11
@@
public class Strip : GLib.Object {
GLib.debug("copy tmp file %s to %s" , tmpfile, path +"/" + name);
Posix.link(tmpfile, path +"/" + name);
Posix.unlink(tmpfile);
+ newfileinfo = File.new_for_path(path +"/" + name)
+ .query_info(GLib.FileAttribute.STANDARD_SIZE+","+GLib.FileAttribute.TIME_MODIFIED
+ ,GLib.FileQueryInfoFlags.NONE,null);
+ newfileinfo.set_modification_time(mod_time);
+
}
this.processed++;