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

Comparing ray/src/util/rpiece.c (file contents):
Revision 2.12 by greg, Fri Aug 21 12:31:27 1992 UTC vs.
Revision 2.13 by greg, Thu Nov 12 10:13:35 1992 UTC

# Line 171 | Line 171 | char  **av;
171          } else if ((outfd = open(outfile, O_RDWR)) >= 0) {
172                  if ((fp = fdopen(dup(outfd), "r+")) == NULL)
173                          goto filerr;
174 <                getheader(fp, NULL);            /* skip header */
174 >                getheader(fp, NULL, NULL);      /* skip header */
175                  if (fscnresolu(&hr, &vr, fp) < 0 ||     /* check resolution */
176                                  hr != hres*hmult || vr != vres*vmult) {
177                          fprintf(stderr, "%s: resolution mismatch on file \"%s\"\n",
# Line 334 | Line 334 | int  xpos, ypos;
334                  exit(cleanup(1));
335          }
336                                  /* check header from rpict */
337 <        getheader(fromrp, NULL);
337 >        getheader(fromrp, NULL, NULL);
338          if (fscnresolu(&hr, &vr, fromrp) < 0 || hr != hres | vr != vres) {
339                  fprintf(stderr, "%s: resolution mismatch from %s\n",
340                                  progname, rpargv[0]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines