Compare commits

..

No commits in common. "5b96a48f531f028f68333a862dd32809a5de4658" and "653c3bfe70bd5aec1b2bd3e6ad5d9ae2f780037a" have entirely different histories.

4 changed files with 3 additions and 7 deletions

View file

@ -1,10 +1,6 @@
# SPDX-FileCopyrightText: Yorhel <projects@yorhel.nl> # SPDX-FileCopyrightText: Yorhel <projects@yorhel.nl>
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
2.8.2 - 2025-05-01
- Still requires Zig 0.14
- Fix a build error on MacOS
2.8.1 - 2025-04-28 2.8.1 - 2025-04-28
- Still requires Zig 0.14 - Still requires Zig 0.14
- Fix integer overflow in binary export - Fix integer overflow in binary export

2
ncdu.1
View file

@ -1,6 +1,6 @@
.\" SPDX-FileCopyrightText: Yorhel <projects@yorhel.nl> .\" SPDX-FileCopyrightText: Yorhel <projects@yorhel.nl>
.\" SPDX-License-Identifier: MIT .\" SPDX-License-Identifier: MIT
.Dd May 1, 2025 .Dd April 28, 2025
.Dt NCDU 1 .Dt NCDU 1
.Os .Os
.Sh NAME .Sh NAME

View file

@ -1,7 +1,7 @@
// SPDX-FileCopyrightText: Yorhel <projects@yorhel.nl> // SPDX-FileCopyrightText: Yorhel <projects@yorhel.nl>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
pub const program_version = "2.8.2"; pub const program_version = "2.8.1";
const std = @import("std"); const std = @import("std");
const model = @import("model.zig"); const model = @import("model.zig");

View file

@ -77,7 +77,7 @@ fn statAt(parent: std.fs.Dir, name: [:0]const u8, follow: bool, symlink: *bool)
.hasgid = true, .hasgid = true,
.hasmode = true, .hasmode = true,
}, },
.mtime = clamp(model.Ext, .mtime, stat.mtime().sec), .mtime = clamp(model.Ext, .mtime, stat.mtim.sec),
.uid = truncate(model.Ext, .uid, stat.uid), .uid = truncate(model.Ext, .uid, stat.uid),
.gid = truncate(model.Ext, .gid, stat.gid), .gid = truncate(model.Ext, .gid, stat.gid),
.mode = truncate(model.Ext, .mode, stat.mode), .mode = truncate(model.Ext, .mode, stat.mode),