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

Comparing ray/src/px/panim.c (file contents):
Revision 2.4 by schorsch, Mon Oct 27 10:24:51 2003 UTC vs.
Revision 2.5 by schorsch, Mon Nov 10 12:28:56 2003 UTC

# Line 74 | Line 74 | char   *argv[];
74   sendframe(file)                 /* convert and send a frame */
75   char    *file;
76   {
77 <        char    command[128];
77 >        char    command[PATH_MAX];
78          COLR    scanin[SCANLINE];
79          int     xres, yres;
80          int     xbeg, ybeg;
# Line 90 | Line 90 | char   *file;
90                  file = "<stdin>";
91          } else {
92                  if (pcom != NULL) {
93 <                        sprintf(command, "( %s ) < %s", pcom, file);
93 >                        sprintf(command, "( %s ) < \"%s\"", pcom, file);
94                          fp = popen(command, "r");
95                  } else
96                          fp = fopen(file, "r");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines