From a211aafed62e2049fb0bc1db07b49eb28f71c1c2 Mon Sep 17 00:00:00 2001 From: Yves Biener Date: Sat, 1 Nov 2025 00:29:41 +0100 Subject: [PATCH] doc: remove unnecessary comment --- src/root.zig | 1 - 1 file changed, 1 deletion(-) diff --git a/src/root.zig b/src/root.zig index a62d801..4f8ba01 100644 --- a/src/root.zig +++ b/src/root.zig @@ -21,7 +21,6 @@ fn logFn( if (comptime build_options.file.len > 0) { // TODO handle errors accordingly (i.e. panic?) // NOTE with zig 0.13.0 there is currently no way to open files to append (except to use libc or talk directly to posix, which this lib should not have to do) - // file, err := os.OpenFile("log", os.O_APPEND|os.O_WRONLY|os.O_CREATE, 0600) const fd = std.posix.open(build_options.file, .{ .CREAT = true, .APPEND = true,