[BACK]Return to gen-plist.c CVS log [TXT][DIR] Up to [local] / OpenXM / misc / packages / FreeBSD / openxm-ports / openxm-1.1.2 / files

Diff for /OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/files/gen-plist.c between version 1.1 and 1.2

version 1.1, 2000/03/02 10:32:39 version 1.2, 2000/03/04 04:00:48
Line 1 
Line 1 
 /* $OpenXM$ */  /* $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/files/gen-plist.c,v 1.1.1.1 2000/03/02 10:32:39 takayama Exp $ */
 #include <stdio.h>  #include <stdio.h>
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/stat.h>  #include <sys/stat.h>
Line 20  main() {
Line 20  main() {
   struct stat sb;    struct stat sb;
   int p;    int p;
   
     /* Initial data */
     printf("bin/asir\n");
     printf("bin/sm1\n");
     printf("bin/oxMathematica\n");
     printf("bin/oxmath\n");
     printf("bin/ox\n");
     printf("bin/gp\n");
   
   while (fgets(s0,512,stdin) != NULL) {    while (fgets(s0,512,stdin) != NULL) {
         n = strlen(s0);          n = strlen(s0);
         if (n <= 1) goto LLL;          if (n <= 1) goto LLL;
Line 58  main() {
Line 66  main() {
         if (isExclude(s,"doc/OpenXM-web")) goto LLL;          if (isExclude(s,"doc/OpenXM-web")) goto LLL;
         if (isExclude(s,"doc/Makefile")) goto LLL;          if (isExclude(s,"doc/Makefile")) goto LLL;
         if (isExclude(s,"doc/install")) goto LLL;          if (isExclude(s,"doc/install")) goto LLL;
           if (isExclude(s,"doc/compalg")) goto LLL;
   
   
         if (lstat(s,&sb) < 0) fprintf(stderr,"The file %s is not found.\n",s);          if (lstat(s,&sb) < 0) fprintf(stderr,"The file %s is not found.\n",s);

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

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