[BACK]Return to fep_com.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / fep

Diff for /OpenXM_contrib2/fep/fep_com.c between version 1.1 and 1.4

version 1.1, 2002/09/03 00:41:44 version 1.4, 2019/12/13 15:41:36
Line 1 
Line 1 
 /*      Copyright (c) 1987, 1988 by Software Research Associates, Inc.  */  /*      Copyright (c) 1987, 1988 by Software Research Associates, Inc.  */
   
   #if defined(ANDROID)
   #include <strings.h>
   #define index(s,c) strchr(s,c)
   #define rindex(s,c) strrchr(s,c)
   #endif
   
 #ifndef lint  #ifndef lint
 static char rcsid[]=  static char rcsid[]=
 "$Header$ (SRA)";  "$Header$ (SRA)";
 #endif /* lint */  #endif /* lint */
   
 #include <stdio.h>  #include <stdio.h>
   #include <stdlib.h>
   #include <string.h>
 #include <sys/ioctl.h>  #include <sys/ioctl.h>
 #ifdef TERMIOS  #ifdef TERMIOS
 #include <termios.h>  #include <termios.h>
Line 22  static char rcsid[]=
Line 30  static char rcsid[]=
 #include <sys/file.h>  #include <sys/file.h>
 #include <sys/stat.h>  #include <sys/stat.h>
 #include <sys/ioctl.h>  #include <sys/ioctl.h>
   #if defined(sun)
   #include <sys/fcntl.h>
   #endif
 #include "fep_defs.h"  #include "fep_defs.h"
 #include "fep_glob.h"  #include "fep_glob.h"
 #include "fep_funcs.h"  #include "fep_funcs.h"
Line 34  typedef struct {
Line 45  typedef struct {
 } MORE;  } MORE;
 MORE *create_more();  MORE *create_more();
   
   #if defined(ANDROID)
   #define S_IREAD S_IRUSR
   #define S_IWRITE S_IWUSR
   #define S_IEXEC S_IXUSR
   #endif
 /*  /*
  * Check command line if it call built-in function or not and execute it   * Check command line if it call built-in function or not and execute it
  */   */
Line 306  set (comline)
Line 322  set (comline)
     char *comline;      char *comline;
 {  {
     char line[MAXCMDLEN];      char line[MAXCMDLEN];
   #if defined(ANDROID)
       char *cp;
   #else
     char *cp, *index();      char *cp, *index();
   #endif
     char *argv[MAXARGS];      char *argv[MAXARGS];
     int argc;      int argc;
   

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

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