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

Comparing ray/src/rt/rpmain.c (file contents):
Revision 2.19 by greg, Thu Mar 21 16:52:40 2019 UTC vs.
Revision 2.20 by greg, Tue Apr 5 03:02:15 2022 UTC

# Line 303 | Line 303 | main(int  argc, char  *argv[])
303  
304          setambient();                   /* initialize ambient calculation */
305          
306 +        fflush(stdout);                 /* in case we're duplicating header */
307 +
308   #ifdef  PERSIST
309          if (persist) {
308                fflush(stdout);
310                  if (outfile == NULL) {          /* reconnect stdout */
311                          dup2(duped1, fileno(stdout));
312                          close(duped1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines