judah / haskeline

A Haskell library for line input in command-line programs.
https://hackage.haskell.org/package/haskeline
BSD 3-Clause "New" or "Revised" License
221 stars 75 forks source link

Use capi rather than ccall to import ioctl #163

Closed bgamari closed 3 years ago

bgamari commented 3 years ago

As noted by GHC #20085, the ccall calling convention does not support variadic functions like ioctl.

bgamari commented 3 years ago

It is possible that this will fix #162

bgamari commented 3 years ago

Ping.

judah commented 3 years ago

Thank you for the patch!