Re: PATH_MAX on the Hurd

2011-08-04 Thread Bruno Haible
> pathmax: Leave PATH_MAX undefined on the Hurd, and a constant otherwise. And to make it clear what semantics pathmax.h exactly provides, I'm adding a unit test: 2011-08-04 Bruno Haible Tests for module 'pathmax'. * modules/pathmax-tests: New file. * tests/test

Re: PATH_MAX on the Hurd

2011-08-04 Thread Bruno Haible
Paul Eggert wrote: > One nit: the pathmax.h comment suggests a fallback of 8192, > but the code uses 1024; I suggest making them consistent. Yup. I think this patch makes it more consistent: 2011-08-04 Bruno Haible canonicalize-lgpl: Support larger filenames on the Hurd. * li

Re: PATH_MAX on the Hurd

2011-08-04 Thread Bruno Haible
Simon Josefsson wrote: > After applying it, getcwd builds and passes > selftests [1], so please push it. Great! Thanks for the testing. Paul Eggert wrote: > the pathmax.h comment suggests a fallback of 8192, > but the code uses 1024; I suggest making them consistent. Good point. Actually the bes

Re: socketpair

2011-08-04 Thread Bruno Haible
Hi Bastien, > I have posted sometime ago a proof of concept for mingw socketpair. If > you could revioew In the thread that you started at I reviewed your code. The thread stopped when you were in the middle of producing some co

Re: errno --> errno name ?

2011-08-04 Thread Bruno Haible
Hi Bruce, > I fixed up the "mk" script to be more portable Indeed, that looks like most portability problems have been eliminated. > tho I haven't tried it on Solaris' /bin/sh. > Probably won't work. I don't have access. You can also test it with 'zsh', 'ksh', 'ash', and 'dash' on a glibc syst

Re: errno --> errno name ?

2011-08-04 Thread Bruce Korb
Well, after some suggestions from Bruno, I fixed up the "mk" script to be more portable, tho I haven't tried it on Solaris' /bin/sh. Probably won't work. I don't have access. It might work. It remains a program and not a library function, too. One interesting thing I discovered: $ errno . | he

Re: PATH_MAX on the Hurd

2011-08-04 Thread Simon Josefsson
Bruno Haible writes: > Yes, this was precisely the topic of the two threads that started at > > and . > > The root of the problem is that we have two ways to de

Re: posix module build on hurd

2011-08-04 Thread Simon Josefsson
Simon Josefsson writes: > All, > > Here is a build log on hurd for all posix-modules including tests, plus > autobuild minus the failing getcwd-tests (see other thread). > > http://autobuild.josefsson.org/gnulib/log-201108040804185118000.txt > > There are only four failing tests, so we are in rea

Re: RE : Re: [PATCH] pipe, pipe2: don't corrupt fd on error

2011-08-04 Thread Bastien ROUCARIES
On Thu, Aug 4, 2011 at 1:00 AM, Eric Blake wrote: > On 06/30/2011 06:57 AM, Eric Blake wrote: >> >> On 06/29/2011 11:22 PM, Bastien ROUCARIES wrote: >>> >>> Could we raise the same issue with socketpair to austin group ? >> >> Good point, I'll go ahead and test that scenario as well. > > Done: htt

posix module build on hurd

2011-08-04 Thread Simon Josefsson
All, Here is a build log on hurd for all posix-modules including tests, plus autobuild minus the failing getcwd-tests (see other thread). http://autobuild.josefsson.org/gnulib/log-201108040804185118000.txt There are only four failing tests, so we are in really good shape already. (Let's see how