version 1.5, 2020/03/29 17:01:55 |
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.4 2019/12/13 14:40:50 fujimoto 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 568 void int_handler(int sig) |
|
Line 568 void int_handler(int sig) |
|
} |
} |
#endif |
#endif |
#if !defined(ANDROID) && 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 ) |
while ( __freadable(stdin) ) |
|
#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]; |