test-tty typo #771

Closed
vtjnash opened this Issue Apr 8, 2013 · 1 comment

Projects

None yet

2 participants

@vtjnash
Contributor
vtjnash commented Apr 8, 2013

tty_out is opened in mode 2 -- readable, instead of 0 -- writable

r = uv_tty_init(uv_default_loop(), &tty_out, ttyout_fd, 2);

https://github.com/joyent/libuv/blob/master/test/test-tty.c#L87

@bnoordhuis bnoordhuis added a commit that referenced this issue Jun 18, 2013
@bnoordhuis bnoordhuis test: open stdout fd in write-only mode
Fixes #771.
6607e70
@bnoordhuis
Contributor

Thanks for pointing that out. Fixed in 6607e70.

@bnoordhuis bnoordhuis closed this Jun 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment