Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!super.upenn.edu!eecae!nancy!umix!hyc From: hyc@umix.cc.umich.edu (Howard Chu) Newsgroups: news.software.b Subject: Silly typo in expire.c Message-ID: <2512@umix.cc.umich.edu> Date: Sun, 8-Nov-87 04:13:00 EST Article-I.D.: umix.2512 Posted: Sun Nov 8 04:13:00 1987 Date-Received: Tue, 10-Nov-87 07:04:53 EST Reply-To: hyc@umix.cc.umich.edu (Howard Chu) Organization: University of Michigan Computing Center, Ann Arbor Lines: 19 Keywords: 2.11 B level 12 expire.c (line 25) UUCP-Path: {uunet,rutgers}!umix!hyc 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 #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?"