Re: findutils on interix

2010-10-28 Thread Paolo Bonzini
On 10/28/2010 04:59 PM, Markus Duft wrote: thinking of gnulib, i can see a lot of potential problems, starting fex, that gnulib modules are copied into the packages, rather than gnulib beeing an installed library that is linked against (is this true always?). It is true that gnulib is usually

Re: findutils on interix

2010-10-28 Thread Markus Duft
On 10/28/2010 04:16 PM, Eric Blake wrote: [snip] > > That's exactly what gnulib is - a library of source code workarounds for > broken platform functions. Are you interested in porting your > libsuacomp fixes into gnulib, so that more GNU programs can support > Interix out of the box? (i'll take

Re: findutils on interix

2010-10-28 Thread Eric Blake
On 10/28/2010 06:43 AM, Markus Duft wrote: > On 10/28/2010 12:08 PM, Markus Duft wrote: >> On 10/28/2010 12:03 PM, James Youngman wrote: >> [snip] >>> In so far as we're likely ever to fix this problem I'd be inclined to >>> go for the 32K limit that Eric suggested. And perhaps treating >>> ENOME

Re: findutils on interix

2010-10-28 Thread Markus Duft
On 10/28/2010 12:08 PM, Markus Duft wrote: > On 10/28/2010 12:03 PM, James Youngman wrote: > [snip] >> In so far as we're likely ever to fix this problem I'd be inclined to >> go for the 32K limit that Eric suggested. And perhaps treating >> ENOMEM like E2BIG when execve fails, for Interix. > >

Re: findutils on interix

2010-10-28 Thread Markus Duft
On 10/28/2010 12:03 PM, James Youngman wrote: [snip] > In so far as we're likely ever to fix this problem I'd be inclined to > go for the 32K limit that Eric suggested. And perhaps treating > ENOMEM like E2BIG when execve fails, for Interix. mhm - that'd be ok with me. another solution that cam

Re: findutils on interix

2010-10-28 Thread James Youngman
On Thu, Oct 28, 2010 at 10:44 AM, Markus Duft wrote: > On 10/28/2010 10:55 AM, James Youngman wrote: >> On Thu, Oct 28, 2010 at 7:33 AM, Markus Duft wrote: >>> through trial and error, i found out that with a 3K environment, 50K seems >>> to work well, which seems rather odd then - as arguments

Re: findutils on interix

2010-10-28 Thread Markus Duft
On 10/28/2010 10:55 AM, James Youngman wrote: > On Thu, Oct 28, 2010 at 7:33 AM, Markus Duft wrote: >> through trial and error, i found out that with a 3K environment, 50K seems >> to work well, which seems rather odd then - as arguments would be 47K in the >> worst case then, right? >> >> i hav

Re: findutils on interix

2010-10-28 Thread James Youngman
On Thu, Oct 28, 2010 at 7:33 AM, Markus Duft wrote: > through trial and error, i found out that with a 3K environment, 50K seems to > work well, which seems rather odd then - as arguments would be 47K in the > worst case then, right? > > i have no idea how we could be able to reliably find a "re

Re: findutils on interix

2010-10-28 Thread Markus Duft
On 10/28/2010 08:33 AM, Markus Duft wrote: [snip] > i have no idea how we could be able to reliably find a "real" limit on > interix, other than a configure check which tries to exec until it works... > however, the check would need to grow the env to the maximum, too. i came up with a small (ha