version 1.2, 2018/09/21 07:06:52 |
version 1.8, 2020/10/06 06:31:20 |
|
|
* 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/asir2018/parse/glob.c,v 1.1 2018/09/19 05:45:08 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2018/parse/glob.c,v 1.7 2020/06/20 05:56:08 fujimoto Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "al.h" |
#include "al.h" |
Line 332 void cppname_init() |
|
Line 332 void cppname_init() |
|
char oxcpp[BUFSIZ]; |
char oxcpp[BUFSIZ]; |
#define OXCPP "/bin/ox_cpp" |
#define OXCPP "/bin/ox_cpp" |
|
|
if ( oxhome = getenv("OpenXM_HOME") ) { |
if ( ( oxhome = getenv("OpenXM_HOME") ) != 0 ) { |
if ( strlen(oxhome)+strlen(OXCPP)<BUFSIZ ) { |
if ( strlen(oxhome)+strlen(OXCPP)<BUFSIZ ) { |
sprintf(oxcpp,"%s%s",oxhome,OXCPP); |
sprintf(oxcpp,"%s%s",oxhome,OXCPP); |
if ( access(oxcpp,X_OK&R_OK) == 0 ) { |
if ( access(oxcpp,X_OK&R_OK) == 0 ) { |
Line 567 void int_handler(int sig) |
|
Line 567 void int_handler(int sig) |
|
return; |
return; |
} |
} |
#endif |
#endif |
#if defined(linux) |
#if !defined(ANDROID) && defined(linux) |
|
/* |
#if 1 |
#if 1 |
while ( stdin->_IO_read_ptr < stdin->_IO_read_end ) |
while ( stdin->_IO_read_ptr < stdin->_IO_read_end ) |
#else |
#else |
while ( stdin->_gptr < stdin->_egptr ) |
while ( stdin->_gptr < stdin->_egptr ) |
#endif |
#endif |
getchar(); |
getchar(); |
|
*/ |
|
if( __freadable(stdin) ) __fpurge(stdin); |
#endif |
#endif |
while ( 1 ) { |
while ( 1 ) { |
char buf[BUFSIZ]; |
char buf[BUFSIZ]; |
Line 853 char *get_asir_distribution(); |
|
Line 856 char *get_asir_distribution(); |
|
|
|
char *get_gcversion() |
char *get_gcversion() |
{ |
{ |
return "GC 7.2 copyright 1988-2012, H-J. Boehm, A. J. Demers, Xerox, SGI, HP.\n"; |
return "GC 7.4.2 copyright 1988-2015, H-J. Boehm, A. J. Demers, Xerox, SGI, HP.\n"; |
} |
} |
|
|
char *get_pariversion() |
char *get_pariversion() |
Line 881 char *scopyright() |
|
Line 884 char *scopyright() |
|
static char *notice; |
static char *notice; |
char *s1, *s2, *s3, *s4; |
char *s1, *s2, *s3, *s4; |
int d, len; |
int d, len; |
char *format = "This is Risa/Asir%s, full GMP Version %d (%s Distribution).\nCopyright (C) 1994-2000, all rights reserved, FUJITSU LABORATORIES LIMITED.\nCopyright 2000-2018, Risa/Asir committers, http://www.openxm.org/.\n%s%s"; |
char *format = "This is Risa/Asir%s, full GMP Version %d (%s Distribution).\nCopyright (C) 1994-2000, all rights reserved, FUJITSU LABORATORIES LIMITED.\nCopyright 2000-2019, Risa/Asir committers, http://www.openxm.org/.\n%s%s"; |
if (!notice) { |
if (!notice) { |
s1 = get_intervalversion(); |
s1 = get_intervalversion(); |
s2 = get_asir_distribution(); |
s2 = get_asir_distribution(); |