[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.10 and 1.11

version 1.10, 2021/03/25 23:25:03 version 1.11, 2022/09/07 03:10:56
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_contrib2/asir2018/parse/glob.c,v 1.9 2020/11/15 16:15:17 fujimoto Exp $   * $OpenXM: OpenXM_contrib2/asir2018/parse/glob.c,v 1.10 2021/03/25 23:25:03 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "al.h"  #include "al.h"
Line 257  void asir_terminate(int status)
Line 257  void asir_terminate(int status)
 #endif  #endif
     if ( asir_out )      if ( asir_out )
       fflush(asir_out);        fflush(asir_out);
 #if FEP  #if defined(FEP)
     if ( do_fep ) {      if ( do_fep ) {
       stifle_history(MAXHIST);        stifle_history(MAXHIST);
       write_history(asir_history);        write_history(asir_history);
Line 360  void process_args(int ac,char **av)
Line 360  void process_args(int ac,char **av)
 #if defined(VISUAL) && defined(VISUAL_CONSOLE)  #if defined(VISUAL) && defined(VISUAL_CONSOLE)
   disable_debugger=1;    disable_debugger=1;
 #endif  #endif
   #if defined(FEP)
     do_fep = 1;
   #endif
   do_quiet = 0;    do_quiet = 0;
   while ( ac > 0 ) {    while ( ac > 0 ) {
     if ( !strcmp(*av,"-heap") && (ac >= 2) ) {      if ( !strcmp(*av,"-heap") && (ac >= 2) ) {
Line 416  void process_args(int ac,char **av)
Line 419  void process_args(int ac,char **av)
     } else if ( !strcmp(*av,"-display") && (ac >= 2) ) {      } else if ( !strcmp(*av,"-display") && (ac >= 2) ) {
       strcpy(displayname,*(av+1)); av += 2; ac -= 2;        strcpy(displayname,*(av+1)); av += 2; ac -= 2;
 #endif  #endif
 #if FEP  #if defined(FEP)
     } else if ( !strcmp(*av,"-fep") ) {      } else if ( !strcmp(*av,"-fep") ) {
       do_fep = 1; av++; ac--;        do_fep = 1; av++; ac--;
       } else if ( !strcmp(*av,"-nofep") ) {
         do_fep = 0; av++; ac--;
 #endif  #endif
     } else {      } else {
       fprintf(stderr,"%s : unknown option.\n",*av);        fprintf(stderr,"%s : unknown option.\n",*av);
Line 428  void process_args(int ac,char **av)
Line 433  void process_args(int ac,char **av)
       asir_terminate(1);        asir_terminate(1);
     }      }
   }    }
 #if FEP  #if defined(FEP)
   if ( do_fep ) {    if ( do_fep ) {
     char *home;      char *home;
     home = (char *)getenv("HOME");      home = (char *)getenv("HOME");

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

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