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

Comparing ray/src/util/ranimate.c (file contents):
Revision 2.31 by greg, Tue Feb 25 02:47:24 2003 UTC vs.
Revision 2.37 by schorsch, Thu Jun 5 19:29:35 2003 UTC

# Line 798 | Line 798 | int    frame;
798                  return(1);
799                                          /* add frame to recovered list */
800          if (nrfrms)
801 <                rfrm = (int *)realloc((char *)rfrm, (nrfrms+1)*sizeof(int));
801 >                rfrm = (int *)realloc((void *)rfrm, (nrfrms+1)*sizeof(int));
802          else
803                  rfrm = (int *)malloc(sizeof(int));
804          if (rfrm == NULL) {
# Line 971 | Line 971 | int    rvr;
971                  if (usepfilt)
972                          sprintf(combuf+strlen(combuf), " %s", rresopt);
973                  else
974 <                        sprintf(combuf+strlen(combuf), "-a %s -e %s",
974 >                        sprintf(combuf+strlen(combuf), " -a %s -e %s",
975                                          fresopt, ep);
976                  sprintf(combuf+strlen(combuf), " %s.unf %s.zbf",
977                                  fnbefore, fnbefore);
# Line 1300 | Line 1300 | int    maxcopies;
1300                          strcpy(com1=buf, com);  /* build -PP command */
1301                          sprintf(com1+(ppins-com), " -PP %s/%s.persist",
1302                                          vval(DIRECTORY), phostname(ps));
1303 +                        unlink(com1+(ppins-com)+5);
1304                          strcat(com1, ppins);
1305                  } else
1306                          com1 = com;
# Line 1360 | Line 1361 | rmfile(fn)                     /* remove a file */
1361   char    *fn;
1362   {
1363          if (!silent)
1364 < #ifdef MSDOS
1364 > #ifdef _WIN32
1365                  printf("\tdel %s\n", fn);
1366   #else
1367                  printf("\trm -f %s\n", fn);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines