]> PatchyGit - patchyircd.git/commit
use SA_RESTART for SIGINT
authorEgor <egor@patchysicp.xyz>
Sat, 21 Oct 2023 11:23:56 +0000 (14:23 +0300)
committerEgor <egor@patchysicp.xyz>
Sat, 21 Oct 2023 11:26:50 +0000 (14:26 +0300)
commit918805c027e39fe9c2ee1c9f637740a77395112e
tree3d552523da4895481a55d26d7f95d65a51ffbacf
parenta94ef43ad751b60dbc8cefe1fe1e86a1065c2e0c
use SA_RESTART for SIGINT

SA_RESTART specifically doesn't affect polling syscalls (the thing we
want to interrupt), but it prevents stupid things like having to check
for EINTR on recv/send (which we weren't doing anyway)
src/main.c