Commit bb1475f1 authored by Mart Lubbers's avatar Mart Lubbers

increase termios size for parent as well to fit mac's structure

parent 174c1f5b
......@@ -158,7 +158,7 @@ where
parentProcess :: !Int !Int !Int !Int !Int !*World -> (!MaybeOSError (!ProcessHandle, !ProcessIO), !*World)
parentProcess slavePty masterPty pid pipeExecErrorOut pipeExecErrorIn world
//sizeof(struct termios) on linux gives 60, lets play safe
# termios = malloc 64
# termios = malloc 128
| termios == 0 = abort "malloc failed"
# (res, world) = tcgetattr masterPty termios world
| res == -1 = getLastOSError world
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment