9fans / plan9port

Plan 9 from User Space
https://9fans.github.io/plan9port/
Other
1.64k stars 326 forks source link

libthread: use setpgid instead of setpgrp #497

Closed anths closed 3 years ago

anths commented 3 years ago

This setpgrp breaks the build on FreeBSD (and I think all BSDs). This fix is tested on FreeBSD and macOS.

Pull request #471 already exists for this, but the fix isn't right. The correct fix is noted in the comments, but I'm not sure if there's a way to edit a pull request. This is a clean one to get the change in and the build working again.