diff options
author | Imran Iqbal <imrani@ca.ibm.com> | 2015-11-20 15:04:55 -0500 |
---|---|---|
committer | Saúl Ibarra Corretgé <saghul@gmail.com> | 2015-11-24 21:54:48 +0100 |
commit | f5796d2fbac47b026e3cc3f2b988a18c1d5b3f21 (patch) | |
tree | 5c1b150ad2420be510ba571477167695ba60132b /docs/src | |
parent | 7b9bc28e85b81bb2c116912038ae976f815824c4 (diff) | |
download | libuv-f5796d2fbac47b026e3cc3f2b988a18c1d5b3f21.tar.gz libuv-f5796d2fbac47b026e3cc3f2b988a18c1d5b3f21.zip |
test: fix test/test-tty.c for AIX
'/dev/random' causes 'isatty()' to return 1 on AIX[1]. This causes
an issue where 'dev/tty' is opened (hard coded in
src/unix/tty.c:uv_tty_init). Tried to replace the hardcoded value with
what is returned by 'ttyname()' but on AIX all that is returned is
'/dev/'.
This seems to be a bug with the AIX kernel.
[1]http://goo.gl/wGa7mf
PR-URL: https://github.com/libuv/libuv/pull/624
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions