Commit e04620d5 authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

reopen needs to be volatile, or the compiler might optimize it away.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1450 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 5688b3f6
......@@ -212,7 +212,7 @@ do_order(struct VSL_data *vd, int argc, char **argv)
/*--------------------------------------------------------------------*/
static sig_atomic_t reopen;
static volatile sig_atomic_t reopen;
static void
sighup(int sig)
......
......@@ -347,7 +347,7 @@ h_ncsa(void *priv, enum shmlogtag tag, unsigned fd,
/*--------------------------------------------------------------------*/
static sig_atomic_t reopen;
static volatile sig_atomic_t reopen;
static void
sighup(int sig)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment