version 1.56, 2005/03/24 23:40:50 |
version 1.59, 2005/10/10 15:16:38 |
|
|
* 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.55 2005/01/27 23:58:21 fujiwara Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/glob.c,v 1.58 2005/08/24 06:28:39 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 ) { |
Line 763 char *get_pariversion() |
|
Line 768 char *get_pariversion() |
|
{ |
{ |
#if PARI |
#if PARI |
#if 0 |
#if 0 |
return "PARI 2.2.4, copyright (C) 2002 The PARI Group.\nPARI 2.0.17, copyright 1989-1999, C. Batut, K. Belabas, D. Bernardi,\n H. Cohen and M. Olivier.\n"; |
return PARIVERSION", Copyright (C) 2000-2005 The PARI Group.\n"; |
#endif |
#else |
return "PARI 2.0.17, copyright 1989-1999, C. Batut, K. Belabas, D. Bernardi,\n H. Cohen and M. Olivier.\n"; |
return "PARI 2.0.17, copyright 1989-1999, C. Batut, K. Belabas, D. Bernardi,\n H. Cohen and M. Olivier.\n"; |
#endif |
#endif |
|
#endif |
return ""; |
return ""; |
} |
} |
|
|
Line 781 char *get_intervalversion() |
|
Line 787 char *get_intervalversion() |
|
|
|
void copyright() |
void copyright() |
{ |
{ |
char *format = "This is Risa/Asir%s, Version %d (%s Distribution).\nCopyright (C) 1994-2000, all rights reserved, FUJITSU LABORATORIES LIMITED.\nCopyright 2000-2005, Risa/Asir committers, http://www.openxm.org/.\nGC 6.2(alpha6) copyright 1988-2003, H-J. Boehm, A. J. Demers, Xerox, SGI, HP.\n%s"; |
char *format = "This is Risa/Asir%s, Version %d (%s Distribution).\nCopyright (C) 1994-2000, all rights reserved, FUJITSU LABORATORIES LIMITED.\nCopyright 2000-2005, Risa/Asir committers, http://www.openxm.org/.\nGC 6.5 Copyright 1988-2005, H-J. Boehm, A. J. Demers, Xerox, SGI, HP.\n%s"; |
printf(format, get_intervalversion(), get_asir_version(), get_asir_distribution(), get_pariversion()); |
printf(format, get_intervalversion(), get_asir_version(), get_asir_distribution(), get_pariversion()); |
} |
} |
|
|
Line 790 char *scopyright() |
|
Line 796 char *scopyright() |
|
static char *notice; |
static char *notice; |
char *s1, *s2, *s3; |
char *s1, *s2, *s3; |
int d, len; |
int d, len; |
char *format = "This is Risa/Asir%s, Version %d (%s Distribution).\nCopyright (C) 1994-2000, all rights reserved, FUJITSU LABORATORIES LIMITED.\nCopyright 2000-2005, Risa/Asir committers, http://www.openxm.org/.\nGC 6.2(alpha6) copyright 1988-2003, H-J. Boehm, A. J. Demers, Xerox, SGI, HP.\n%s"; |
char *format = "This is Risa/Asir%s, Version %d (%s Distribution).\nCopyright (C) 1994-2000, all rights reserved, FUJITSU LABORATORIES LIMITED.\nCopyright 2000-2005, Risa/Asir committers, http://www.openxm.org/.\nGC 6.5 copyright 1988-2005, H-J. Boehm, A. J. Demers, Xerox, SGI, HP.\n%s"; |
if (!notice) { |
if (!notice) { |
s1 = get_intervalversion(); |
s1 = get_intervalversion(); |
s2 = get_asir_distribution(); |
s2 = get_asir_distribution(); |