authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-04-13 11:31:38-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-04-13 11:31:38-04:00
log0509414dfecc1e82ed86b21a1c24aa978c2e810f
treec373750e58f8c66cf663b958cbf9e8b037c056c6
parent4662fd4d92b216708390a2056a201c91773b9bc6

fix regression with zig install dir

introduced in 1999f0daad505

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

src/main.cpp+1-1
...@@ -176,9 +176,9 @@ static int find_zig_lib_dir(Buf *out_path) {...@@ -176,9 +176,9 @@ static int find_zig_lib_dir(Buf *out_path) {
176 int err;176 int err;
177177
178 Buf self_exe_path = BUF_INIT;178 Buf self_exe_path = BUF_INIT;
179 buf_resize(&self_exe_path, 0);
179 if (!(err = os_self_exe_path(&self_exe_path))) {180 if (!(err = os_self_exe_path(&self_exe_path))) {
180 Buf *cur_path = &self_exe_path;181 Buf *cur_path = &self_exe_path;
181 buf_resize(cur_path, 0);
182182
183 for (;;) {183 for (;;) {
184 Buf *test_dir = buf_alloc();184 Buf *test_dir = buf_alloc();