make getmntent_r discard long lines when it returns error, not seek back
seeking back can be performed by the caller, but if the caller doesn't expect it, it will result in an infinite loop of failures.
Showing
想要评论请 注册 或 登录
seeking back can be performed by the caller, but if the caller doesn't expect it, it will result in an infinite loop of failures.