[BACK]Return to fake-polymake.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / polymake / fake

Diff for /OpenXM/src/polymake/fake/fake-polymake.c between version 1.1 and 1.2

version 1.1, 2004/07/15 05:39:08 version 1.2, 2004/07/29 02:50:52
Line 1 
Line 1 
 /* $OpenXM$ */  /* $OpenXM: OpenXM/src/polymake/fake/fake-polymake.c,v 1.1 2004/07/15 05:39:08 takayama Exp $ */
 /* This is a fake polymake which works as follows  /* This is a fake polymake which works as follows
    (1) By using oxhttpd (OpenXM http service), it calls the real polymake     (1) By using oxhttpd (OpenXM http service), it calls the real polymake
        and gets an answer.         and gets an answer.
Line 33  main(int argc,char *argv[]) {
Line 33  main(int argc,char *argv[]) {
         sprintf(cube,"%s/src/polymake/fake/tmp/facet.poly",home);          sprintf(cube,"%s/src/polymake/fake/tmp/facet.poly",home);
   }else if (strcmp(argv[2],"FACE_LATTICE")==0) {    }else if (strcmp(argv[2],"FACE_LATTICE")==0) {
         sprintf(cube,"%s/src/polymake/fake/tmp/facelat.poly",home);          sprintf(cube,"%s/src/polymake/fake/tmp/facelat.poly",home);
           printf("FACE_LATTICE\n\n");
           printf("[ -1 : 3 ]\n");
           printf("{{0 1} {0 2} {1 2}}\n\n");
           printf("[ -2 : 3 ]\n");
           printf("{{0} {1} {2}}\n");
   }else{    }else{
         fprintf(stderr,"fake-polymake: ERROR: Unknown method, property, or label\n");          fprintf(stderr,"fake-polymake: ERROR: Unknown method, property, or label\n");
         fprintf(stderr,"facet1.poly  FACET\n");          fprintf(stderr,"facet1.poly  FACET\n");

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

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