From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28419 invoked by alias); 6 Jul 2012 15:40:34 -0000 Received: (qmail 28406 invoked by uid 22791); 6 Jul 2012 15:40:32 -0000 X-SWARE-Spam-Status: No, hits=-3.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED,TW_PC X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 06 Jul 2012 15:40:20 +0000 From: "allan at archlinux dot org" To: glibc-bugs@sources.redhat.com Subject: [Bug nis/14303] rpcgen looks for "cpp" in /lib, but not in /usr/bin Date: Fri, 06 Jul 2012 15:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nis X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: allan at archlinux dot org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-07/txt/msg00026.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14303 --- Comment #1 from Allan McRae 2012-07-06 15:40:20 UTC --- There are other patches floating around to do this. The one attached to https://bugzilla.redhat.com/show_bug.cgi?id=456089 makes an array of paths to search. That would be easier to extend. Others use execvp to call cpp and so use the system path, although I doubt that will detect /lib/cpp and /usr/ccs/lib/cpp will not be a PATH so that would not be backwards compatible. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.