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.36 by greg, Sun Jun 1 15:21:57 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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines