summaryrefslogtreecommitdiff
path: root/source3/lib
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
commit5e06151e4d13f6c57559e73dcc88e03ec47c63a0 (patch)
tree3ca7711b4aa55032e632a3c3a2a70c6afdd4c54e /source3/lib
parentc89f1ae0cf5856c30172c11fb935ee68f15f8be7 (diff)
downloadsamba-5e06151e4d13f6c57559e73dcc88e03ec47c63a0.tar.gz
samba-5e06151e4d13f6c57559e73dcc88e03ec47c63a0.tar.bz2
samba-5e06151e4d13f6c57559e73dcc88e03ec47c63a0.zip
Paranoia changes to ensure that anything touched by a signal handler
and the main code is declared as VOLATILE SIG_ATOMIC_T. Jeremy. (This used to be commit b737c784e34b0e1af014cb828ef37d5b6d73c3e2)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/select.c b/source3/lib/select.c
index cd77d1209f..48bc61ab77 100644
--- a/source3/lib/select.c
+++ b/source3/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;
/*******************************************************************