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.117 by greg, Wed May 27 14:26:04 2015 UTC vs.
Revision 2.119 by greg, Sat Aug 1 23:27:04 2015 UTC

# Line 9 | Line 9 | static const char      RCSid[] = "$Id$";
9  
10   #include <ctype.h>
11   #include <time.h>
12 + #include <signal.h>
13  
14   #include "platform.h"
15   #include "rtprocess.h"
# Line 644 | Line 645 | mkpmap(void)                   /* run mkpmap if indicated */
645                  for (cp = combuf; *cp; cp++)
646                          ;
647                  mkpmapopts(cp);
648 +                                /* force file overwrite */
649 +                cp = addarg(cp, "-fo+");
650                  if (vdef(REPORT)) {
651                          char    errfile[256];
652                          int     n;
# Line 657 | Line 660 | mkpmap(void)                   /* run mkpmap if indicated */
660                                  badvalue(REPORT);
661                  }
662                  if (pgmapname != NULL && pgmapdate < oct1date) {
660                        if (pgmapdate)
661                                rmfile(pgmapname);
663                          cp = addarg(cp, "-apg");
664                          addarg(cp, vval(PGMAP));
665                          cp = sskip(sskip(cp));  /* remove any bandwidth */
666                          *cp = '\0';
667                  }
668                  if (pcmapname != NULL && pcmapdate < oct1date) {
668                        if (pcmapdate)
669                                rmfile(pcmapname);
669                          cp = addarg(cp, "-apc");
670                          addarg(cp, vval(PCMAP));
671                          cp = sskip(sskip(cp));  /* remove any bandwidth */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines