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

Comparing ray/src/rt/rc2.c (file contents):
Revision 2.13 by greg, Thu Jul 24 16:28:17 2014 UTC vs.
Revision 2.14 by greg, Fri Aug 21 18:21:05 2015 UTC

# Line 161 | Line 161 | getostream(const char *ospec, const char *mname, int b
161                          if (waitflush > 0)
162                                  fflush(stdout);
163                          stdos.xr = xres; stdos.yr = yres;
164 < #ifdef getc_unlocked
164 > #if 0
165                          flockfile(stdout);      /* avoid lock/unlock overhead */
166   #endif
167                          using_stdout = 1;
# Line 203 | Line 203 | getostream(const char *ospec, const char *mname, int b
203                          goto openerr;
204                  if (outfmt != 'a')
205                          SET_FILE_BINARY(sop->ofp);
206 < #ifdef getc_unlocked
206 > #if 0
207                  flockfile(sop->ofp);            /* avoid lock/unlock overhead */
208   #endif
209                  if (accumulate > 0) {           /* global resolution */
# Line 474 | Line 474 | reload_output()
474                                          error(WARNING, errmsg);
475                                          break;
476                                  }
477 < #ifdef getc_unlocked
477 > #if 0
478                                  flockfile(sout.ofp);
479   #endif
480                                  if (header && checkheader(sout.ofp, outvfmt, NULL) != 1) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines