This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nis/14303] rpcgen looks for "cpp" in /lib, but not in /usr/bin
- From: "allan at archlinux dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Fri, 06 Jul 2012 15:40:20 +0000
- Subject: [Bug nis/14303] rpcgen looks for "cpp" in /lib, but not in /usr/bin
- Auto-submitted: auto-generated
- References: <bug-14303-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14303
--- Comment #1 from Allan McRae <allan at archlinux dot org> 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.