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

Comparing ray/src/common/rglfile.c (file contents):
Revision 3.10 by schorsch, Fri Nov 14 17:22:06 2003 UTC vs.
Revision 3.12 by greg, Sat May 4 00:36:58 2019 UTC

# Line 21 | Line 21 | FUN  ofun[NUMOTYPE] = INIT_OTYPE;
21   static int      nextlist, nlistleft = 0;
22  
23  
24 < static void
25 < initotypes()                    /* initialize ofun array */
24 > void
25 > initotypes(void)                        /* initialize ofun array */
26   {
27          if (ofun[OBJ_SPHERE].funp == o_sphere)
28                  return;                 /* already done */
# Line 184 | Line 184 | char   *inpspec;
184          }
185          if (inpspec[0] == '!')
186                  pclose(infp);
187 <        else
187 >        else if (infp != stdin)
188                  fclose(infp);
189   }
190  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines