summaryrefslogtreecommitdiff
path: root/src/unix.c
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2026-10-13 09:07:23 -0700
committerScott Gasch <[email protected]>2026-10-13 09:07:30 -0700
commit78881b8e6422b7980e5f71780ae4bed862b93e72 (patch)
treea433fdce69fd27359679ad91e0ebedd52e2506cd /src/unix.c
parentf03bcac9ce3c6542310010bfbef2b126bb6ae861 (diff)
Revert "Minor changes; eval code was play tested as ~even."
This reverts commit f03bcac9ce3c6542310010bfbef2b126bb6ae861. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Diffstat (limited to 'src/unix.c')
-rw-r--r--src/unix.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/unix.c b/src/unix.c
index 298473e..fdfce5f 100644
--- a/src/unix.c
+++ b/src/unix.c
@@ -1125,12 +1125,14 @@ Return value:
// doesn't get kicked out with EINTR by a signal that has nothing to
// do with it.
//
- struct sigaction sa;
- memset(&sa, 0, sizeof(sa));
- sa.sa_handler = _AbortSearchOrTerminate;
- sa.sa_flags = SA_RESTART;
- sigemptyset(&sa.sa_mask);
- sigaction(SIGHUP, &sa, NULL);
- sigaction(SIGINT, &sa, NULL);
+ {
+ struct sigaction sa;
+ memset(&sa, 0, sizeof(sa));
+ sa.sa_handler = _AbortSearchOrTerminate;
+ sa.sa_flags = SA_RESTART;
+ sigemptyset(&sa.sa_mask);
+ sigaction(SIGHUP, &sa, NULL);
+ sigaction(SIGINT, &sa, NULL);
+ }
return(TRUE);
}