| version 1.57, 2005/07/12 02:37:32 |
version 1.58, 2005/08/24 06:28:39 |
|
|
| * 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/parse/glob.c,v 1.56 2005/03/24 23:40:50 takayama Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/glob.c,v 1.57 2005/07/12 02:37:32 noro Exp $ |
| */ |
*/ |
| #include "ca.h" |
#include "ca.h" |
| #include "al.h" |
#include "al.h" |
|
|
| int do_file; |
int do_file; |
| char *do_filename; |
char *do_filename; |
| int do_message; |
int do_message; |
| |
int do_terse; |
| int do_fep; |
int do_fep; |
| int read_exec_file; |
int read_exec_file; |
| int asir_setenv; |
int asir_setenv; |
| Line 227 void asir_terminate(int status) |
|
| Line 228 void asir_terminate(int status) |
|
| LONGJMP(exec_env,status); |
LONGJMP(exec_env,status); |
| } else { |
} else { |
| if ( user_quit_handler ) { |
if ( user_quit_handler ) { |
| fprintf(stderr,"Calling the registered quit callbacks..."); |
if ( !do_terse ) |
| |
fprintf(stderr,"Calling the registered quit callbacks..."); |
| for ( n = user_quit_handler; n; n = NEXT(n) ) |
for ( n = user_quit_handler; n; n = NEXT(n) ) |
| bevalf((FUNC)BDY(n),0); |
bevalf((FUNC)BDY(n),0); |
| fprintf(stderr, "done.\n"); |
if ( !do_terse ) |
| |
fprintf(stderr, "done.\n"); |
| } |
} |
| tty_reset(); |
tty_reset(); |
| #if defined(MPI) |
#if defined(MPI) |
| Line 556 void int_handler(int sig) |
|
| Line 559 void int_handler(int sig) |
|
| restore_handler(); |
restore_handler(); |
| if ( c == 'u' ) { |
if ( c == 'u' ) { |
| if ( user_int_handler ) { |
if ( user_int_handler ) { |
| fprintf(stderr, |
if ( !do_terse ) |
| "Calling the registered exception callbacks..."); |
fprintf(stderr, |
| |
"Calling the registered exception callbacks..."); |
| for ( t = user_int_handler; t; t = NEXT(t) ) |
for ( t = user_int_handler; t; t = NEXT(t) ) |
| bevalf((FUNC)BDY(t),0); |
bevalf((FUNC)BDY(t),0); |
| fprintf(stderr, "done.\n"); |
if ( !do_terse ) |
| |
fprintf(stderr, "done.\n"); |
| } |
} |
| } |
} |
| if ( read_exec_file ) { |
if ( read_exec_file ) { |