Ignore SIGURG on Darwin too

This extends #2929 to Darwin as well as Linux.

Running the example in https://github.com/golang/go/issues/37942
I see lots of:
```
dave@m1 sigurg % uname -ms
Darwin arm64

dave@m1 sigurg % go run main.go
received urgent I/O condition: 2021-05-21 16:03:03.482211 +0100 BST m=+0.014553751
received urgent I/O condition: 2021-05-21 16:03:03.507171 +0100 BST m=+0.039514459
```

Signed-off-by: David Scott <dave@recoil.org>
This commit is contained in:
David Scott 2021-05-21 16:17:57 +01:00
parent 86e1f04b5f
commit cedaf44ea2
3 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,5 @@
// +build !windows
package container
import (

View File

@ -1,3 +1,5 @@
// +build !windows
package container
import (

View File

@ -1,5 +1,3 @@
// +build !linux
package container
import "os"