fix undefined call order in fclose, possible lost output depending on compiler
pcc turned up this bug by calling f->close(f) before fflush(f), resulting in lost output and error on flush.
Showing
想要评论请 注册 或 登录
pcc turned up this bug by calling f->close(f) before fflush(f), resulting in lost output and error on flush.