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

Comparing ray/src/rt/persist.c (file contents):
Revision 2.36 by greg, Sun Sep 19 07:24:37 2004 UTC vs.
Revision 2.37 by greg, Fri Jan 21 00:52:59 2005 UTC

# Line 121 | Line 121 | pfhold(void)           /* holding pattern for idle rendering pr
121          char    buf[512];
122          register int    n;
123                                  /* close input and output descriptors */
124 <        close(fileno(stdin));
125 <        close(fileno(stdout));
124 >        close(0);
125 >        close(1);
126          if (errfile == NULL)
127 <                close(fileno(stderr));
127 >                close(2);
128                                  /* create named pipes for input and output */
129          if (mkfifo(mktemp(strcpy(inpname,TEMPLATE)), 0600) < 0)
130                  goto createrr;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines