hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 8de4f4b1d3e1bff66dc82e062741f4e7ab974b71
parent 91ec8e4ab0393484370079b5366645ebadf261f2
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon, 11 Apr 2022 17:09:03 +0200

unix::signal: set SFD_NONBLOCK for signalfd

Signed-off-by: Drew DeVault <sir@cmpwn.com>

Diffstat:
Munix/signal/+linux.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unix/signal/+linux.ha b/unix/signal/+linux.ha @@ -183,7 +183,7 @@ export fn update( }; }; - match (rt::signalfd(fd, &sa_mask, sa_flags)) { + match (rt::signalfd(fd, &sa_mask, sa_flags | rt::SFD_CLOEXEC)) { case int => return; case let err: rt::errno =>