[BACK]Return to ox.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / io

Diff for /OpenXM_contrib2/asir2000/io/ox.c between version 1.25 and 1.26

version 1.25, 2004/08/28 12:50:30 version 1.26, 2004/12/17 03:09:08
Line 44 
Line 44 
  * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY   * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  * $OpenXM: OpenXM_contrib2/asir2000/io/ox.c,v 1.24 2003/12/11 05:48:04 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/io/ox.c,v 1.25 2004/08/28 12:50:30 takayama Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 404  void end_critical() {
Line 404  void end_critical() {
         }          }
 }  }
   
 extern FUNC registered_handler;  extern NODE user_int_handler;
   
 void ox_usr1_handler(int sig)  void ox_usr1_handler(int sig)
 {  {
           NODE t;
   
 #if !defined(VISUAL)  #if !defined(VISUAL)
         signal(SIGUSR1,ox_usr1_handler);          signal(SIGUSR1,ox_usr1_handler);
 #endif  #endif
Line 416  void ox_usr1_handler(int sig)
Line 418  void ox_usr1_handler(int sig)
                 ox_usr1_sent = 1;                  ox_usr1_sent = 1;
         } else {          } else {
                 ox_flushing = 1;                  ox_flushing = 1;
                 if ( registered_handler ) {                  if ( user_int_handler ) {
                         fprintf(stderr,                          fprintf(stderr,
                                 "usr1 : calling the registered exception handler...");                                  "usr1 : calling the registered exception handlers...");
                         bevalf(registered_handler,0);                          for ( t = user_int_handler; t; t = NEXT(t) )
                                   bevalf((FUNC)BDY(t),0);
                         fprintf(stderr, "done.\n");                          fprintf(stderr, "done.\n");
                 }                  }
                 ox_resetenv("usr1 : return to toplevel by SIGUSR1");                  ox_resetenv("usr1 : return to toplevel by SIGUSR1");

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>