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

Comparing ray/src/hd/rholo2.c (file contents):
Revision 3.12 by gwlarson, Wed Jun 10 17:46:21 1998 UTC vs.
Revision 3.13 by gwlarson, Mon Jul 6 18:17:20 1998 UTC

# Line 147 | Line 147 | getradfile()                   /* run rad and get needed variables */
147                  strcpy(pippt, "> /dev/null");   /* nothing to match */
148          else
149                  sprintf(cp, ")[ \t]*=' > %s", tf2);
150 <        if (system(combuf)) {
151 <                unlink(tf2);                    /* clean up */
152 <                unlink(tf1);
153 <                error(WARNING, "error executing rad command");
154 <                return(-1);
155 <        }
150 > #ifdef DEBUG
151 >        wputs(combuf); wputs("\n");
152 > #endif
153 >        system(combuf);                         /* ignore exit code */
154          if (pippt == NULL) {
155                  loadvars(tf2);                  /* load variables */
156                  unlink(tf2);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines