don't write openpty results until success is determined
not only is this semantically more correct; it also reduces code size slightly by eliminating the need for the compiler to assume the possibility of aliasing.
Showing
想要评论请 注册 或 登录