knz / go-libedit

Go wrapper around the BSD libedit replacement to GNU readline
Apache License 2.0
6 stars 6 forks source link

Remove macOS sigtramp hack #16

Closed benesch closed 5 years ago

benesch commented 5 years ago

Since Go 1.11, Go no longer abuses the internal sigtramp field on macOS when it installs its signal handlers 0. This means that we no longer need several layers of deviousness to restore Go's signal handlers on Darwin.

Once this commit lands, we should add a note to the README indicating that users who want support for Go versions early than 1.11 will need to use the commit prior to this one.

benesch commented 5 years ago

Sure, done! PTAL.