--- ray/src/common/fgetline.c 2004/02/11 22:11:33 2.5 +++ ray/src/common/fgetline.c 2004/09/14 02:53:50 2.7 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: fgetline.c,v 2.5 2004/02/11 22:11:33 greg Exp $"; +static const char RCSid[] = "$Id: fgetline.c,v 2.7 2004/09/14 02:53:50 greg Exp $"; #endif /* * fgetline.c - read line with escaped newlines. @@ -10,6 +10,11 @@ static const char RCSid[] = "$Id: fgetline.c,v 2.5 200 #include "copyright.h" #include "rtio.h" + +#ifdef getc_unlocked /* avoid horrendous overhead of flockfile */ +#undef getc +#define getc getc_unlocked +#endif char *