ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/meta/dgraph.c
(Generate patch)

Comparing ray/src/meta/dgraph.c (file contents):
Revision 1.1 by greg, Sat Feb 22 02:07:26 2003 UTC vs.
Revision 1.2 by schorsch, Fri Aug 1 14:14:24 2003 UTC

# Line 23 | Line 23 | main(argc, argv)
23   int  argc;
24   char  *argv[];
25   {
26 #if  UNIX || MAC
26          char  *getenv();
28 #endif
27          int  i, file0;
28  
31 #ifdef  CPM
32        fixargs("dgraph", &argc, &argv);
29          progname = argv[0];
34        libpath[0] = "";
35        libpath[1] = "0/";
36        libpath[2] = NULL;
37 #endif
38 #ifdef  MAC
39        progname = argv[0];
30          libpath[0] = "./";
31          if ((libpath[i=1] = getenv("MDIR")) != NULL)
32                  i++;
43        libpath[i++] = "/meta/";
44        libpath[i] = NULL;
45 #endif
46 #ifdef  UNIX
47        progname = argv[0];
48        libpath[0] = "./";
49        if ((libpath[i=1] = getenv("MDIR")) != NULL)
50                i++;
33          libpath[i++] = "/usr/local/lib/meta/";
34          libpath[i] = NULL;
53 #endif
35  
36          for (file0 = 1; file0 < argc-1; file0 += 2)
37                  if (!isopt(argv[file0]))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines