summaryrefslogtreecommitdiffstats
path: root/source/lib/select.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-06-19 21:30:27 +0000
committerJeremy Allison <jra@samba.org>2000-06-19 21:30:27 +0000
commitb737c784e34b0e1af014cb828ef37d5b6d73c3e2 (patch)
treebf6609f49a0def29fe9f24d985929e2a5e4e697e /source/lib/select.c
parent2d35d0cf1d152438c20648d863f5993e672337dc (diff)
downloadsamba-b737c784e34b0e1af014cb828ef37d5b6d73c3e2.tar.gz
samba-b737c784e34b0e1af014cb828ef37d5b6d73c3e2.tar.xz
samba-b737c784e34b0e1af014cb828ef37d5b6d73c3e2.zip
Paranoia changes to ensure that anything touched by a signal handler
and the main code is declared as VOLATILE SIG_ATOMIC_T. Jeremy.
Diffstat (limited to 'source/lib/select.c')
-rw-r--r--source/lib/select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/select.c b/source/lib/select.c
index cd77d1209f5..48bc61ab771 100644
--- a/source/lib/select.c
+++ b/source/lib/select.c
@@ -30,7 +30,7 @@
*/
static int initialised;
static int select_pipe[2];
-static unsigned pipe_written, pipe_read;
+static VOLATILE SIG_ATOMIC_T pipe_written, pipe_read;
/*******************************************************************