[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: findutils on interix
From: |
Markus Duft |
Subject: |
Re: findutils on interix |
Date: |
Wed, 27 Oct 2010 14:16:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100913 Lightning/1.0b3pre Thunderbird/3.1.3 |
On 10/27/2010 08:42 AM, Markus Duft wrote:
> On 10/23/2010 01:52 PM, James Youngman wrote:
>> Thanks. I adopted a very slightly different approach, see
>> https://savannah.gnu.org/bugs/index.php?31424
>>
>> The updated code is already pushed.
>
> The patch works as expected, thank you very much - this was really painless ;)
owh - spoke too soon. there is no more problem with the too long argument list,
but unfortunately, i now get "xargs: environment is too large for exec" all over
the place (not always, but in situations with increased environment :))
i looked a little into the code, and it seems that the environment block size is
compared to the argument max size (which now is rather small on interix)...
why is this done?
any ideas how to work around/fix this? in the meantime, i extended the already
pushed patch for my local findutils to additionally re-define ARG_MAX to 50000,
and things return back to a working state :) AFAIK, the maximum environment size
on interix is 32K, if that's of any interest to you...
markus
>
> markus
>
>>
>> James.
>>
>
>
findutils-4.5.9-interix-arg_max-50000.patch
Description: Text Data
- findutils on interix, Markus Duft, 2010/10/22
- Re: findutils on interix, James Youngman, 2010/10/22
- Re: findutils on interix, Markus Duft, 2010/10/23
- Re: findutils on interix, James Youngman, 2010/10/23
- Re: findutils on interix, Markus Duft, 2010/10/27
- Re: findutils on interix,
Markus Duft <=
- Re: findutils on interix, James Youngman, 2010/10/27
- Re: findutils on interix, Eric Blake, 2010/10/27
- Re: findutils on interix, Markus Duft, 2010/10/28
- Re: findutils on interix, Markus Duft, 2010/10/28
- Re: findutils on interix, James Youngman, 2010/10/28
- Re: findutils on interix, Markus Duft, 2010/10/28
- Re: findutils on interix, James Youngman, 2010/10/28
- Re: findutils on interix, Markus Duft, 2010/10/28
- Re: findutils on interix, Markus Duft, 2010/10/28
- Re: findutils on interix, Eric Blake, 2010/10/28