STLWriter error checking needs investigation
The vtkSTLWriter
class tries to detect "out of space" errors, but does so poorly. It checks only fflush
for an error (any error) and assumes it means ENOSPC
(rather than checking for EIO
or other plausible errors). The thing is that fwrite
/fprintf
could also have triggered the ENOSPC
leaving nothing in the buffer to flush and therefore no error.
I've disabled the testing of the "out of space" error for now because the code just isn't handling the detection well enough for our CI.