mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-01 15:38:35 +00:00
update Zig, fixed new invalid octal error
This commit is contained in:
@@ -240,7 +240,7 @@ pub fn expandPath(alloc: Allocator, cmd: []const u8) !?[]u8 {
|
||||
};
|
||||
defer f.close();
|
||||
const stat = try f.stat();
|
||||
if (stat.kind != .Directory and stat.mode & 0111 != 0) {
|
||||
if (stat.kind != .Directory and stat.mode & 0o0111 != 0) {
|
||||
return try alloc.dupe(u8, full_path);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user