diff options
| author | Shawn Landden <shawn@git.icu> | 2019-04-09 19:16:51 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-04-24 23:34:19 -0400 |
| commit | 8ef7f6febb7132d7a1ee44199fd22006f326de5c (patch) | |
| tree | 4ce5c3a8c7a54a344cee9a0e72de8fad1dd701fd /src/main.cpp | |
| parent | fb2acaff067dd6b385de7f2bd2726bdfebbf841f (diff) | |
| download | zig-8ef7f6febb7132d7a1ee44199fd22006f326de5c.tar.gz zig-8ef7f6febb7132d7a1ee44199fd22006f326de5c.zip | |
remove Shebang (#!) support
Closes: #2165
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 03cf3aad68..8cbc9b0d8c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -331,7 +331,7 @@ int main(int argc, char **argv) { os_path_split(cwd, nullptr, cwd_basename); Buf *build_zig_contents = buf_alloc(); - if ((err = os_fetch_file_path(build_zig_path, build_zig_contents, false))) { + if ((err = os_fetch_file_path(build_zig_path, build_zig_contents))) { fprintf(stderr, "Unable to read %s: %s\n", buf_ptr(build_zig_path), err_str(err)); return EXIT_FAILURE; } @@ -346,7 +346,7 @@ int main(int argc, char **argv) { } Buf *main_zig_contents = buf_alloc(); - if ((err = os_fetch_file_path(main_zig_path, main_zig_contents, false))) { + if ((err = os_fetch_file_path(main_zig_path, main_zig_contents))) { fprintf(stderr, "Unable to read %s: %s\n", buf_ptr(main_zig_path), err_str(err)); return EXIT_FAILURE; } |
