This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH,HURD] getconf: fix the value of _CS_PATH


Hi,

Alle lunedì 1 ottobre 2012, Andreas Jaeger ha scritto:
> On Sunday, September 30, 2012 17:53:33 Pino Toscano wrote:
> > attached there is a patch to add a custom version (copied from the
> > unix sysdep) of confstr.h, to avoid using the bsd header which adds
> > a non- existing /usr/ucb.
> 
> An alternative would be to use an include like:
> 
> /* We do not want the sysdeps/unix/bsd version. */
> #include <sysdeps/unix/confstr.h>

Good idea, thanks for the hint.

Updated patch attached.

-- 
Pino Toscano
Hurd: fix the _CS_PATH getconf value

Create a new Hurd-specific confstr.h including sysdeps/unix/confstr.h
directly to skip sysdeps/unix/bsd/confstr.h (which adds a non-existing
/usr/ucb).

2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>

	* sysdeps/mach/hurd/confstr.h: New file.
--- /dev/null
+++ b/sysdeps/mach/hurd/confstr.h
@@ -0,0 +1,2 @@
+/* We do not want the sysdeps/unix/bsd version. */
+#include <sysdeps/unix/confstr.h>

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]