# | Line 18 | Line 18 | static const char RCSid[] = "$Id$"; | |
---|---|---|
18 | #include "otypes.h" | |
19 | #include "resolu.h" | |
20 | ||
21 | – | #ifdef getc_unlocked /* avoid horrendous overhead of flockfile */ |
22 | – | #undef getc |
23 | – | #define getc getc_unlocked |
24 | – | #endif |
25 | – | |
21 | static double ogetflt(void); | |
22 | static long ogetint(int); | |
23 | static char *ogetstr(char *); | |
# | Line 123 | Line 118 | readoct( /* read in octree file or stream */ | |
118 | /* close the input */ | |
119 | if (infn[0] == '!') | |
120 | pclose(infp); | |
121 | < | else |
121 | > | else if (infp != stdin) |
122 | fclose(infp); | |
123 | return(nf); | |
124 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |