[BACK]Return to glob.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2018 / parse

Diff for /OpenXM_contrib2/asir2018/parse/glob.c between version 1.1 and 1.10

version 1.1, 2018/09/19 05:45:08 version 1.10, 2021/03/25 23:25:03
Line 45 
Line 45 
  * 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: OpenXM_contrib2/asir2018/parse/glob.c,v 1.9 2020/11/15 16:15:17 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(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];
     char c;      char c;
Line 853  char *get_asir_distribution();
Line 853  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.6.12 copyright 1988-2018, H-J. Boehm, A. J. Demers, Xerox, SGI, HP, I. Maidanski.\n";
 }  }
   
 char *get_pariversion()  char *get_pariversion()
Line 881  char *scopyright()
Line 881  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, Version %d (%s Distribution).\nCopyright (C) 1994-2000, all rights reserved, FUJITSU LABORATORIES LIMITED.\nCopyright 2000-2007, 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-2021, 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();

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.10

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>