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

Comparing ray/src/ot/oconv.c (file contents):
Revision 2.7 by greg, Sun Feb 27 10:16:42 1994 UTC vs.
Revision 2.9 by greg, Thu Apr 14 05:02:06 1994 UTC

# Line 26 | Line 26 | static char SCCSid[] = "$SunId$ LBL";
26  
27   char  *progname;                        /* argv[0] */
28  
29 char  *libpath;                         /* library search path */
30
29   int  nowarn = 0;                        /* supress warnings? */
30  
31   int  objlim = 5;                        /* # of objects before split */
# Line 58 | Line 56 | char  **argv;
56  
57          progname = argv[0] = fixargv0(argv[0]);
58  
61        if ((libpath = getenv(ULIBVAR)) == NULL)
62                libpath = DEFPATH;
63
59          initotypes();
60  
61          for (i = 1; i < argc && argv[i][0] == '-'; i++)
# Line 104 | Line 99 | breakopt:
99                  nfiles = readoct(infile, IO_ALL, &thescene, ofname);
100                  if (nfiles == 0)
101                          inpfrozen++;
102 <        }
103 <
109 <        newheader("RADIANCE", stdout);  /* new binary file header */
102 >        } else
103 >                newheader("RADIANCE", stdout);  /* new binary file header */
104          printargs(argc, argv, stdout);
105          fputformat(OCTFMT, stdout);
106          printf("\n");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines