diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-04-04 13:08:11 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-04-05 11:51:15 +0000 |
commit | fb38db29e167dacc51892f718453159fcfa4062f (patch) | |
tree | da4eddd11d6774f4351dfa2c8940dc400f459e18 /src/network | |
parent | 63ef26d58365548340010840282cff707a2f3191 (diff) |
Consider ENXIO (No such device or address) reason to check isatty()
Aligns with EPERM (Operation not permitted) and ENOENT (No such file
or directory), and is what errno is set to on macOS when opening the
/dev/tty device when running inside e.g. Xcode, where isatty() will
return true.
Change-Id: I09b88eaa3ff611d95ab37f0ff4df9aaaca52747d
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/network')
0 files changed, 0 insertions, 0 deletions