[news.software.b] Silly typo in expire.c

hyc@umix.cc.umich.edu (Howard Chu) (11/08/87)

Well, I finally got the nerve up to try building a level 12 news, after
having such fun with level 8 for all this time... How strange to discover,
after installing 2.11.8 on 3 new sites in the past 3 days, the following
in my copy of expire.c:
	#ifdef BSD_42
	#include <sys/file.h>
	#endif /* BSD_42 */
This is all very nice, but defs.h uses "BSD4_2", not "BSD_42". On a BSD4.2
system using the flock() code the compiler dies with "LOCK_EX" undefined...
It seems such a simple thing, p'raps that's why it's never been fixed in
an official patch. I guess I never noticed it before because I wrote my
localize.sh on a 4.3 system, and the Vaxes I installed on were running 4.3,
and the Suns seemed to fake it well enough this time... I didn't run into
the problem until trying to build things on an Apollo, using 4.2 defines.

Ah well. Just another case where '42' isn't the answer, I guess.
-- 
  -- Howard Chu
	"Of *course* it's portable. It's written in C, isn't it?"