stage1: Remove fflush on file open for reading

On NetBSD this caused the libuserland compilation to fail.

Closes #3719
This commit is contained in:
LemonBoy 2020-03-08 13:45:16 +01:00
parent dc44fe053c
commit bab66235b9

View File

@ -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;
}