mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 00:35:10 +00:00
stage1: Remove fflush on file open for reading
On NetBSD this caused the libuserland compilation to fail. Closes #3719
This commit is contained in:
parent
dc44fe053c
commit
bab66235b9
@ -1161,9 +1161,6 @@ Error os_update_file(Buf *src_path, Buf *dst_path) {
|
||||
fclose(dst_libc_file);
|
||||
return err;
|
||||
}
|
||||
if (fflush(src_libc_file) == -1) {
|
||||
return ErrorUnexpected;
|
||||
}
|
||||
if (fflush(dst_libc_file) == -1) {
|
||||
return ErrorUnexpected;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user