Skip to content

Commit 52afbdc

Browse files
committed
Polish
1 parent e000dc4 commit 52afbdc

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/unix/pty.cc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,8 @@ pty_close_inherited_fds() {
127127
#endif
128128

129129
int fd;
130-
/* Set the CLOEXEC flag on all open descriptors. Unconditionally try the
131-
* first 16 file descriptors. After that, bail out after the first error.
132-
*/
130+
// Set the CLOEXEC flag on all open descriptors. Unconditionally try the first
131+
// 16 file descriptors. After that, bail out after the first error.
133132
for (fd = 3; ; fd++)
134133
if (SetCloseOnExec(fd) && fd > 15)
135134
break;

0 commit comments

Comments
 (0)