version 1.4, 2019/12/13 14:40:50 |
version 1.9, 2020/11/15 16:15:17 |
|
|
* 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.3 2019/03/29 04:43:18 ohara Exp $ |
* $OpenXM: OpenXM_contrib2/asir2018/parse/glob.c,v 1.8 2020/10/06 06:31:20 noro 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(ANDROID) && defined(linux) |
#if defined(linux) |
#if 1 |
#if !defined(__GLIBC__) && !defined(ANDROID) |
while ( stdin->_IO_read_ptr < stdin->_IO_read_end ) |
if( __freadahead(stdin) > 0 ) __fpurge(stdin); |
#else |
#else |
while ( stdin->_gptr < stdin->_egptr ) |
while ( FP_DATA_IS_AVAILABLE(stdin) ) |
#endif |
|
getchar(); |
getchar(); |
|
#endif |
#endif |
#endif |
while ( 1 ) { |
while ( 1 ) { |
char buf[BUFSIZ]; |
char buf[BUFSIZ]; |