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.10 by greg, Sat Aug 8 18:45:02 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);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines