From 3d06f350131b5cf15f146627fde6506e13999093 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Thu, 29 Jan 2026 19:17:37 +0100 Subject: stop messing with mtimes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- src/exe.zig | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/exe.zig') 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 { -- cgit 1.4.1