Fix console IO on win32.
commit43d8ec05f7591470c6fac3c2e19aac1e4c72caeb
authorStas Boukarev <stassats@gmail.com>
Sun, 12 Feb 2017 18:30:13 +0000 (12 21:30 +0300)
committerStas Boukarev <stassats@gmail.com>
Sun, 12 Feb 2017 18:30:24 +0000 (12 21:30 +0300)
treee3e8f6582154b68f0f943e29607c83887dce3fb5
parent28015e60b888dbed1dd93d9e24372c051a0286c6
Fix console IO on win32.

Properly determine if a handle is in fact a console, the low bits
being equal to #b11 hack doesn't work.

Fixes lp#1660906.
src/code/fd-stream.lisp
src/code/win32.lisp
src/runtime/win32-os.c