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

Comparing ray/src/common/readoct.c (file contents):
Revision 2.36 by greg, Wed Apr 23 01:57:04 2025 UTC vs.
Revision 2.38 by greg, Thu Nov 6 00:19:59 2025 UTC

# Line 11 | Line 11 | static const char      RCSid[] = "$Id$";
11   #include  <time.h>
12  
13   #include  "platform.h"
14 #include  "paths.h"
14   #include  "standard.h"
15   #include  "octree.h"
16   #include  "object.h"
# Line 127 | Line 126 | readoct(                               /* read in octree file or stream */
126              }
127          }
128                                  /* close the input */
129 <        if (inpspec[0] == '!') {
129 >        if (infn[0] == '!') {
130                  if (pclose(infp) != 0) {
131                          sprintf(errmsg, "bad status from \"%s\"", inpspec);
132                          error(WARNING, errmsg);

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)