[BACK]Return to add_gc_prefix.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / gc

Diff for /OpenXM_contrib2/asir2000/gc/add_gc_prefix.c between version 1.2 and 1.3

version 1.2, 2002/07/24 07:46:15 version 1.3, 2002/07/24 08:00:06
Line 1 
Line 1 
 # include <stdio.h>  # include <stdio.h>
   # include "version.h"
   
 int main(argc, argv, envp)  int main(argc, argv, envp)
 int argc;  int argc;
Line 8  char ** envp;
Line 9  char ** envp;
     int i;      int i;
   
     for (i = 1; i < argc; i++) {      for (i = 1; i < argc; i++) {
         printf("gc/%s ", argv[i]);        if (GC_ALPHA_VERSION == GC_NOT_ALPHA) {
           printf("gc%d.%d/%s ", GC_VERSION_MAJOR, GC_VERSION_MINOR, argv[i]);
         } else {
           printf("gc%d.%dalpha%d/%s ", GC_VERSION_MAJOR,
                  GC_VERSION_MINOR, GC_ALPHA_VERSION, argv[i]);
         }
     }      }
     return(0);      return(0);
 }  }

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

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