Skip to content

Commit

Permalink
netbsd 9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nmisch committed May 20, 2024
1 parent 433750d commit 9f08d6c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
pkginstall: echo no packages required

- name: netbsd
version: '9.4'
version: '9.2'
pkginstall: pkgin -y install perl || true
steps:
- uses: actions/checkout@v4
Expand Down
13 changes: 8 additions & 5 deletions pending_signal_c
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,22 @@
* 2 if sigprocmask(SIG_UNBLOCK) returns w/ SIGTERM *not* pending
* 90 if exec fails
*
* Linux 3.10.0-1160.99.1.el7.x86_64: Dies to SIGTERM about half the time,
* returning 1 the other half. Compiling with -DREBLOCK makes it die to SIGTERM
* always.
*
* AIX 7300-01-02-2320: returns 1 always. Compiling with -DREBLOCK makes it die
* to SIGTERM always.
*
* Same as AIX:
* Darwin 21.6.0
* FreeBSD 14.0-CURRENT
* FreeBSD 14.0-release-p6
* Linux 6.7.12-amd64
* OpenBSD 7.5
* Solaris 11.4.68.164.2
*
* NetBSD 10.0: returns 2 always.
* NetBSD 9.4: returns 2 always.
*
* Linux 3.10.0-1160.99.1.el7.x86_64: Dies to SIGTERM about half the time,
* returning 1 the other half. Compiling with -DREBLOCK makes it die to SIGTERM
* always.
*/
#include <signal.h>
#include <unistd.h>
Expand Down

0 comments on commit 9f08d6c

Please sign in to comment.