Commit 4a2bfec150

Andrew Kelley <superjoe30@gmail.com>
2018-04-15 18:57:45
fix linux implementation of self exe path
closes #894
1 parent b7af9ed
Changed files (1)
src
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