Closed eutro closed 2 years ago
A non-null return from fopen already implies no error, while errno may not have been reset and could still be non-zero.
fopen
errno
This was causing a write to fail when there were no actual IO errors.
Thansk for thz fix
A non-null return from
fopen
already implies no error, whileerrno
may not have been reset and could still be non-zero.This was causing a write to fail when there were no actual IO errors.