tty: do not add `shutdown` method to handle
authorFedor Indutny <fedor@indutny.com>
Thu, 5 Mar 2015 16:04:00 +0000 (11:04 -0500)
committerFedor Indutny <fedor@indutny.com>
Thu, 5 Mar 2015 18:38:22 +0000 (13:38 -0500)
commit3446ff417ba1e11d35d1661b8788eac5af029360
tree9e48f3d4ddecc8a0e243406c6b826a10b7611626
parent9d2b89d06c14f8e250e290668507c9daa8ec97ca
tty: do not add `shutdown` method to handle

UV_TTY does not support `uv_shutdown()` so adding this method in
StreamBase will cause an `abort()` in C land.

Fix: https://github.com/iojs/io.js/issues/1068
PR-URL: https://github.com/iojs/io.js/pull/1073
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
src/stream_base-inl.h
src/stream_base.h
src/tty_wrap.cc
test/parallel/test-regress-GH-io-1068.js [new file with mode: 0644]