mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
update Zig, fixed new invalid octal error
This commit is contained in:
6
flake.lock
generated
6
flake.lock
generated
@ -109,11 +109,11 @@
|
|||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1660697540,
|
"lastModified": 1660870378,
|
||||||
"narHash": "sha256-xo/0ot44oXRbhBiHfAxxqKiluW2B0fBKtwtctkr/Up4=",
|
"narHash": "sha256-iXCyt4soxWxcEUvEQHJh1XBbvEiskVaR5UFLfbWbGrw=",
|
||||||
"owner": "roarkanize",
|
"owner": "roarkanize",
|
||||||
"repo": "zig-overlay",
|
"repo": "zig-overlay",
|
||||||
"rev": "92883db3ddf748074643ece54b020337d020f7d2",
|
"rev": "ad6afbdece7c817fbf43903766b9e2a7a6e01c68",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -240,7 +240,7 @@ pub fn expandPath(alloc: Allocator, cmd: []const u8) !?[]u8 {
|
|||||||
};
|
};
|
||||||
defer f.close();
|
defer f.close();
|
||||||
const stat = try f.stat();
|
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);
|
return try alloc.dupe(u8, full_path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user