authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-04-15 12:57:45-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-04-15 12:57:45-04:00
log4a2bfec150ac8b78185d98324782da7841eddb9b
tree3ead100db97ba9a43f41b90acb03f056aa855580
parentb7af9edb8a8802c35f1a460f8dafff8643b34639

fix linux implementation of self exe path

closes #894

1 files changed, 1 insertions(+), 0 deletions(-)

src/os.cpp+1
...@@ -1007,6 +1007,7 @@ int os_self_exe_path(Buf *out_path) {...@@ -1007,6 +1007,7 @@ int os_self_exe_path(Buf *out_path) {
1007 buf_resize(out_path, buf_len(out_path) * 2);1007 buf_resize(out_path, buf_len(out_path) * 2);
1008 continue;1008 continue;
1009 }1009 }
1010 buf_resize(out_path, amt);
1010 return 0;1011 return 0;
1011 }1012 }
1012#endif1013#endif