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.72 by greg, Wed Sep 24 14:55:54 2003 UTC vs.
Revision 2.73 by greg, Sat Oct 18 04:46:24 2003 UTC

# Line 1264 | Line 1264 | char   *opts, *po;
1264                          mvfile(rawfile, combuf);
1265                  } else
1266                          rmfile(rawfile);
1267 <                finish_process();               /* leave if child */
1267 >                finish_process();               /* exit if child */
1268          }
1269          wait_process(1);                /* wait for children to finish */
1270          if (pfile != NULL) {            /* clean up rpict persistent mode */
# Line 1272 | Line 1272 | char   *opts, *po;
1272                  fp = fopen(pfile, "r");
1273                  if (fp != NULL) {
1274                          if (fscanf(fp, "%*s %d", &pid) != 1 ||
1275 <                                        kill(pid, 1) == -1)
1275 >                                        kill(pid, 1) < 0)
1276                                  unlink(pfile);
1277                          fclose(fp);
1278                  }
# Line 1343 | Line 1343 | next_process()                 /* fork the next process (max. nprocs
1343          if (nprocs <= 1)
1344                  return(0);              /* it's us or no one */
1345          if (inchild()) {
1346 <                fprintf(stderr, "%s: internal error 1 in spawn_process()\n",
1346 >                fprintf(stderr, "%s: internal error 1 in next_process()\n",
1347                                  progname);
1348                  quit(1);
1349          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines