[chocolate-doom] 83/83: No SIGHUP on Windows
Jonathan Dowland
jmtd at moszumanska.debian.org
Mon Jan 30 15:06:29 UTC 2017
This is an automated email from the git hooks/post-receive script.
jmtd pushed a commit to annotated tag chocolate-doom-0.0.1
in repository chocolate-doom.
commit 4349ec74e0020fca556535d91ac71c961cf25313
Author: Simon Howard <fraggle at gmail.com>
Date: Wed Sep 7 22:58:34 2005 +0000
No SIGHUP on Windows
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 89
---
src/i_main.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/i_main.c b/src/i_main.c
index 6c60ad6..43f171c 100644
--- a/src/i_main.c
+++ b/src/i_main.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: i_main.c 86 2005-09-07 21:40:28Z fraggle $
+// $Id: i_main.c 89 2005-09-07 22:58:34Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -22,6 +22,9 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.5 2005/09/07 22:58:34 fraggle
+// No SIGHUP on Windows
+//
// Revision 1.4 2005/09/07 21:40:28 fraggle
// Catch signals and exit cleanly
//
@@ -41,7 +44,7 @@
//-----------------------------------------------------------------------------
static const char
-rcsid[] = "$Id: i_main.c 86 2005-09-07 21:40:28Z fraggle $";
+rcsid[] = "$Id: i_main.c 89 2005-09-07 22:58:34Z fraggle $";
#include <signal.h>
@@ -70,7 +73,9 @@ int main(int argc, char **argv)
signal(SIGINT, SignalHandler);
signal(SIGFPE, SignalHandler);
signal(SIGABRT, SignalHandler);
+#ifdef SIGHUP
signal(SIGHUP, SignalHandler);
+#endif
#ifdef SIGPIPE
signal(SIGHUP, SignalHandler);
#endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/chocolate-doom.git
More information about the Pkg-games-commits
mailing list