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

Comparing ray/src/util/rad.c (file contents):
Revision 2.114 by greg, Wed May 27 13:29:57 2015 UTC vs.
Revision 2.115 by greg, Wed May 27 14:12:09 2015 UTC

# Line 672 | Line 672 | mkpmap(void)                   /* run mkpmap if indicated */
672                  if (runcom(combuf)) {
673                          fprintf(stderr, "%s: error running %s\n",
674                                          progname, c_mkpmap);
675 <                        if (pgmapname != NULL)
675 >                        if (pgmapname != NULL && pgmapdate < oct1date)
676                                  unlink(pgmapname);
677 <                        if (pcmapname != NULL)
677 >                        if (pcmapname != NULL && pcmapdate < oct1date)
678                                  unlink(pcmapname);
679                          quit(1);
680                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines