bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: findutils on interix


From: James Youngman
Subject: Re: findutils on interix
Date: Thu, 28 Oct 2010 09:55:21 +0100

On Thu, Oct 28, 2010 at 7:33 AM, Markus Duft <address@hidden> 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 "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.
>
> as "start values" the check could use the same as the arg_max init stuff 
> (sysconf(_SC_ARG_MAX) or ARG_MAX, whichever is bigger), and then decrease 
> them until it works.
>
> thoughts?

This means we would have to give up any hope of supporting
cross-compilation with Interix as the target, or for that case simply
configure a known-working limit.   If we take the second option, we'll
have a limit that only applies in the cross-compilation case, which is
likely to produce an obscure bug further down the road.    I would
rather not leave any rarely-exercised cases at all.

James,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]