summaryrefslogtreecommitdiffstats
path: root/src/subprocess.h
diff options
context:
space:
mode:
authorNicolas Despres <nicolas.despres@gmail.com>2015-04-29 07:33:37 (GMT)
committerNicolas Despres <nicolas.despres@gmail.com>2015-09-20 13:04:42 (GMT)
commit23de4b25e9285d24cfa21fbed5acd105492866d8 (patch)
treeb5e45ec170acfe31e030573def3b4094f22dd113 /src/subprocess.h
parenta48434493d69085aa6fc0c002180ace555cad592 (diff)
downloadNinja-23de4b25e9285d24cfa21fbed5acd105492866d8.zip
Ninja-23de4b25e9285d24cfa21fbed5acd105492866d8.tar.gz
Ninja-23de4b25e9285d24cfa21fbed5acd105492866d8.tar.bz2
Cleanup build on SIGHUP.
SIGHUP is sent when the connection hang up (i.e. when the terminal window is closed or the ssh connection is closed).
Diffstat (limited to 'src/subprocess.h')
-rw-r--r--src/subprocess.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/subprocess.h b/src/subprocess.h
index a001fc9..51f40b2 100644
--- a/src/subprocess.h
+++ b/src/subprocess.h
@@ -98,6 +98,7 @@ struct SubprocessSet {
struct sigaction old_int_act_;
struct sigaction old_term_act_;
+ struct sigaction old_hup_act_;
sigset_t old_mask_;
#endif
};