Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!decvax!genrad!panda!talcott!harvard!cmcl2!phri!delftcc!sam From: sam@delftcc.UUCP (Sam Kendall) Newsgroups: net.wanted Subject: Could someone with 4.3 BSD run a quick test for me? Message-ID: <128@delftcc.UUCP> Date: Tue, 25-Feb-86 19:50:05 EST Article-I.D.: delftcc.128 Posted: Tue Feb 25 19:50:05 1986 Date-Received: Sat, 1-Mar-86 00:31:20 EST Distribution: na Organization: Delft Consulting Corp., New York Lines: 27 The test is: type to either shell /lib/cpp | tail -1 #line 9 "new.c" __FILE__ __LINE__ ^D On 4.2, the result is "new.c" 1 because the preprocessor doesn't reset its own idea of the current line number. But what it should be (and is on System V) is "new.c" 9 I posted a fix for this a year or so ago, but on one semi-4.3 machine I looked at, the bug was still there. I'll repost the fix if necessary. If you do this test, please mail me the result, and say what hardware you are on. Thank you in advance. ---- Sam Kendall allegra \ Delft Consulting Corp. seismo!cmcl2 ! delftcc!sam +1 212 243-8700 ihnp4 / ARPA: delftcc!sam@nyu.ARPA