--- ray/src/rt/rc2.c 2014/07/24 16:28:17 2.13 +++ ray/src/rt/rc2.c 2015/08/21 18:21:05 2.14 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rc2.c,v 2.13 2014/07/24 16:28:17 greg Exp $"; +static const char RCSid[] = "$Id: rc2.c,v 2.14 2015/08/21 18:21:05 greg Exp $"; #endif /* * Accumulate ray contributions for a set of materials @@ -161,7 +161,7 @@ getostream(const char *ospec, const char *mname, int b if (waitflush > 0) fflush(stdout); stdos.xr = xres; stdos.yr = yres; -#ifdef getc_unlocked +#if 0 flockfile(stdout); /* avoid lock/unlock overhead */ #endif using_stdout = 1; @@ -203,7 +203,7 @@ getostream(const char *ospec, const char *mname, int b goto openerr; if (outfmt != 'a') SET_FILE_BINARY(sop->ofp); -#ifdef getc_unlocked +#if 0 flockfile(sop->ofp); /* avoid lock/unlock overhead */ #endif if (accumulate > 0) { /* global resolution */ @@ -474,7 +474,7 @@ reload_output() error(WARNING, errmsg); break; } -#ifdef getc_unlocked +#if 0 flockfile(sout.ofp); #endif if (header && checkheader(sout.ofp, outvfmt, NULL) != 1) {