diff options
author | Nicolas Despres <nicolas.despres@gmail.com> | 2015-04-29 07:33:37 (GMT) |
---|---|---|
committer | Nicolas Despres <nicolas.despres@gmail.com> | 2015-09-20 13:04:42 (GMT) |
commit | 23de4b25e9285d24cfa21fbed5acd105492866d8 (patch) | |
tree | b5e45ec170acfe31e030573def3b4094f22dd113 /src/subprocess.h | |
parent | a48434493d69085aa6fc0c002180ace555cad592 (diff) | |
download | Ninja-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.h | 1 |
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 }; |