diff options
author | kremlin <ian@kremlin.cc> | 2014-08-05 10:51:47 +0800 |
---|---|---|
committer | kremlin <ian@kremlin.cc> | 2014-08-05 10:51:47 +0800 |
commit | 5c2460ab517ed172efa69bae48eb97af43cf7661 (patch) | |
tree | c89ea82a58b375e2d7f4d860b5141059365840ac | |
parent | 7a088364959fdbe00831e81cfe542de5a4106fa5 (diff) | |
download | systembsd-5c2460ab517ed172efa69bae48eb97af43cf7661.tar systembsd-5c2460ab517ed172efa69bae48eb97af43cf7661.tar.gz systembsd-5c2460ab517ed172efa69bae48eb97af43cf7661.tar.bz2 systembsd-5c2460ab517ed172efa69bae48eb97af43cf7661.tar.lz systembsd-5c2460ab517ed172efa69bae48eb97af43cf7661.tar.xz systembsd-5c2460ab517ed172efa69bae48eb97af43cf7661.tar.zst systembsd-5c2460ab517ed172efa69bae48eb97af43cf7661.zip |
minor, add a TODO to hostnamed.c i caught
-rw-r--r-- | bin/obj/.tmp | 2 | ||||
-rw-r--r-- | src/interfaces/hostnamed/hostnamed.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bin/obj/.tmp b/bin/obj/.tmp index c26bd86..a249d69 100644 --- a/bin/obj/.tmp +++ b/bin/obj/.tmp @@ -1 +1 @@ -(git ignores empty dirs) +(git something something) diff --git a/src/interfaces/hostnamed/hostnamed.c b/src/interfaces/hostnamed/hostnamed.c index cf066b2..2eadbe8 100644 --- a/src/interfaces/hostnamed/hostnamed.c +++ b/src/interfaces/hostnamed/hostnamed.c @@ -253,6 +253,10 @@ void set_signal_handlers() { g_unix_signal_add(SIGINT, unix_sig_terminate_handler, NULL); g_unix_signal_add(SIGHUP, unix_sig_terminate_handler, NULL); g_unix_signal_add(SIGTERM, unix_sig_terminate_handler, NULL); + + /* TODO: the "only once" guarantee only counts towards specific signals. + * make sure calling a SIGINT and SIGHUP doesn't cause term_handler() + * to be called twice */ } int main() { |