Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site wjh12.UUCP Path: utzoo!linus!vaxine!wjh12!kendall From: kendall@wjh12.UUCP (Kendall) Newsgroups: net.unix,net.lang.c Subject: Another cpp bug Message-ID: <298@wjh12.UUCP> Date: Tue, 16-Aug-83 21:27:28 EDT Article-I.D.: wjh12.298 Posted: Tue Aug 16 21:27:28 1983 Date-Received: Wed, 17-Aug-83 06:04:45 EDT Organization: Delft Consulting Corp., New York Lines: 13 There is another bug in the cpp. The filename part of #line directives should have the current include path prepended. If a source file #include's "dir/header.h", and dir/header.h has a statement #line 1 "newname.h" then the cpp should output at that point NOT # 1 "newname.h" but # 1 "dir/newname.h" Has anyone fixed this bug? It is not fixed in System V. Sam Kendall {allegra,ihnp4}!wjh12!kendall Delft Consulting Corporation decvax!genrad!wjh12!kendall