mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: fix early termination when saving binary (#5646)
This commit is contained in:
@@ -39,7 +39,7 @@ pub fn (mut f File) write(s string) {
|
||||
}
|
||||
}
|
||||
*/
|
||||
C.fputs(s.str, f.cfile)
|
||||
C.fwrite(s.str, s.len, 1, f.cfile)
|
||||
}
|
||||
|
||||
pub fn (mut f File) writeln(s string) {
|
||||
|
||||
Reference in New Issue
Block a user