| author | |
| committer | |
| log | 914005105e5ec4d60f99eab8819b7b2f367699f3 |
| tree | 8cb49c04ce8f4fd55cf9e06b3e58ab7c91530945 |
| parent | 707e389f38d76a441751676f89cf862000fabc1d |
| signature |
1 files changed, 1 insertions(+), 2 deletions(-)
lib/std/fs.zig+1-2| ... | ... | @@ -490,8 +490,7 @@ pub fn selfExePath(out_buffer: []u8) SelfExePathError![]u8 { |
| 490 | 490 | const resolved_path = std.fmt.bufPrintSentinel(&resolved_path_buf, "{s}/{s}", .{ |
| 491 | 491 | a_path, |
| 492 | 492 | std.os.argv[0], |
| 493 | 0, | |
| 494 | }) catch continue; | |
| 493 | }, 0) catch continue; | |
| 495 | 494 | |
| 496 | 495 | var real_path_buf: [max_path_bytes]u8 = undefined; |
| 497 | 496 | if (posix.realpathZ(resolved_path, &real_path_buf)) |real_path| { |