fwrite test 4: do not reopen file

This commit is contained in:
2025-07-26 00:21:37 +02:00
parent 6b45b84ab1
commit fdef1ed7b6

View File

@@ -1200,14 +1200,6 @@ _start:
call fwrite
assert_eq(18)
; Re-open in write mode, again
mov rdi, [fp1]
call fclose
lea rdi, [rel file1]
mov rsi, 'w'
call fopen
mov [fp1], rax
; TEST 4
printTest(fwrite4)
mov rdi, [fp1]