stage1: Remove fflush on file open for reading
On NetBSD this caused the libuserland compilation to fail. Closes #3719
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user