[GRASS-SVN] r29998 - in grass/trunk/imagery: i.class
i.ortho.photo/photo.2image
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Feb 7 07:39:20 EST 2008
Author: glynn
Date: 2008-02-07 07:39:20 -0500 (Thu, 07 Feb 2008)
New Revision: 29998
Modified:
grass/trunk/imagery/i.class/set_signals.c
grass/trunk/imagery/i.ortho.photo/photo.2image/main.c
Log:
Conditionalise use of SIGTSTP, SIGQUIT
Modified: grass/trunk/imagery/i.class/set_signals.c
===================================================================
--- grass/trunk/imagery/i.class/set_signals.c 2008-02-07 10:38:46 UTC (rev 29997)
+++ grass/trunk/imagery/i.class/set_signals.c 2008-02-07 12:39:20 UTC (rev 29998)
@@ -19,7 +19,9 @@
/* set the ctrlz catch
signal (SIGTSTP, ctrlz);
*/
+#ifdef SIGTSTP
signal (SIGTSTP, SIG_IGN); /* ignore ctrl-Z */
+#endif
/* set other signal catches */
signalflag.interrupt = 0;
Modified: grass/trunk/imagery/i.ortho.photo/photo.2image/main.c
===================================================================
--- grass/trunk/imagery/i.ortho.photo/photo.2image/main.c 2008-02-07 10:38:46 UTC (rev 29997)
+++ grass/trunk/imagery/i.ortho.photo/photo.2image/main.c 2008-02-07 12:39:20 UTC (rev 29998)
@@ -88,7 +88,9 @@
Compute_equation();
signal (SIGINT, SIG_IGN);
+#ifdef SIGQUIT
signal (SIGQUIT, SIG_IGN);
+#endif
Init_graphics();
display_title (VIEW_MAP1);
More information about the grass-commit
mailing list