Change `drainOutput`'s `tcdrain(3)` into a `safe` FFI call
authorHerbert Valerio Riedel <hvr@gnu.org>
Sat, 30 Jan 2016 15:58:31 +0000 (16:58 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Sat, 30 Jan 2016 15:58:31 +0000 (16:58 +0100)
commit5db88aa16bdda504f4bc00fadcd2e27d55c2f63e
tree7825613d61fbc85eb03d959b5789d5874ecdc853
parentd17b03d4d4525103f1995441045eae4c2c73355d
Change `drainOutput`'s `tcdrain(3)` into a `safe` FFI call

Since the primary purpose of `tcdrain(3)` is to block it makes much more
sense to use a `safe` FFI import.
System/Posix/Terminal/Common.hsc
changelog.md