about summary refs log tree commit diff
path: root/src/exe.zig
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2026-01-29 19:17:37 +0100
committerRobert Günzler <r@gnzler.io>2026-01-29 21:05:54 +0100
commit3d06f350131b5cf15f146627fde6506e13999093 (patch)
tree1a98da896c5667fddd0eae7e4d237d066d0e98fe /src/exe.zig
parent8f8ee8697131ea149568a02b77f23dc8dedae99a (diff)
downloadsite-3d06f350131b5cf15f146627fde6506e13999093.tar.gz
stop messing with mtimes
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '')
-rw-r--r--src/exe.zig8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/exe.zig b/src/exe.zig
index 6aa260d..37c20a7 100644
--- a/src/exe.zig
+++ b/src/exe.zig
@@ -111,14 +111,6 @@ fn pandocWorker(ctx: *Context, page: []const u8) !void {
         "--output=-",
         source_path,
     }, &env_map, &w.interface);
-
-    // swap now, we want to edit mtime
-    try f.swap();
-
-    // fixup mtime of the resulting file, this has to happen after the file
-    // swapper has been closed, because it works on a tmp file which is going
-    // to be renamed (meaning mtime is changed again)
-    try fs.setMtime(target_path, mtime);
 }
 
 pub fn captureStdout(ctx: *Context, argv: []const []const u8, env_map: ?*std.process.EnvMap, w: *std.Io.Writer) !void {