zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 4a2bfec150ac8b78185d98324782da7841eddb9b (tree)
parent b7af9edb8a8802c35f1a460f8dafff8643b34639
Author: Andrew Kelley <superjoe30@gmail.com>
Date:   Sun, 15 Apr 2018 12:57:45 -0400

fix linux implementation of self exe path

closes #894

Diffstat:
Msrc/os.cpp | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/os.cpp b/src/os.cpp @@ -1007,6 +1007,7 @@ int os_self_exe_path(Buf *out_path) { buf_resize(out_path, buf_len(out_path) * 2); continue; } + buf_resize(out_path, amt); return 0; } #endif