Index: trunk/Ohana/src/opihi/dvo/imdata.c
===================================================================
--- trunk/Ohana/src/opihi/dvo/imdata.c	(revision 38471)
+++ trunk/Ohana/src/opihi/dvo/imdata.c	(revision 39457)
@@ -128,6 +128,5 @@
 
   // prepare to handle interrupt signals
-  signal (SIGINT, handle_interrupt);
-  interrupt = FALSE;
+  struct sigaction *old_sigaction = SetInterrupt();
 
   /* for each region file, extract the data of interest in the right time range */
@@ -216,4 +215,5 @@
     dvo_catalog_free (&catalog);
   }
+  ClearInterrupt (old_sigaction);
   
   vec[0].Nelements = N;
