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

Comparing ray/src/rt/rpict.c (file contents):
Revision 2.9 by greg, Fri Jul 10 19:29:50 1992 UTC vs.
Revision 2.11 by greg, Sun Aug 9 20:28:41 1992 UTC

# Line 211 | Line 211 | char  *pout, *zout, *prvr;
211          }
212          if (pout != NULL) {
213                  sprintf(fbuf, pout, seq);
214 <                if (!strcmp(prvr, fbuf)) {      /* rename recover file */
214 >                if (prvr != NULL && !strcmp(prvr, fbuf)) {      /* rename */
215                          fbuf2[0] = '\0';
216                          if ((cp = rindex(fbuf, '/')) != NULL)
217                                  strncpy(fbuf2, fbuf, cp-fbuf+1);
# Line 255 | Line 255 | char  *pout, *zout, *prvr;
255                  normaspect(viewaspect(&ourview), &pa, &hres, &vres);
256                  if (seq) {
257                          if (ralrm > 0) {
258 <                                sprintf(errmsg, "starting frame %d\n", seq);
259 <                                eputs(errmsg);
258 >                                fprintf(stderr, "FRAME %d:", seq);
259 >                                fprintview(&ourview, stderr);
260 >                                putc('\n', stderr);
261 >                                fflush(stderr);
262                          }
263                          printf("FRAME=%d\n", seq);
264                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines