As ftruncate is not availabe on all platforms, switch back to
opening the output file with "wb" to truncate it except on VMS (where the file now keeps its original length because it is opened with "rb+" -- does VMS have ftruncate?)
Showing
想要评论请 注册 或 登录