bug-findutils
[Top][All Lists]
Advanced

[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: Thu, 28 Oct 2010 12:08:13 +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/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 came to my mind: i'm maintaining a library, who's sole 
purpose is to fix the incorrect behaviour of libc in some regards on interix 
(libsuacomp [1]). it does some "bad" things already ( ;p ), so maybe i could 
override the sysconf() function (it already overrides approx 70 functions...), 
and make it return a sane value in the _SC_ARG_MAX case. that would make the 
whole problem disappear, and even the first (pushed) patch unnecessary.

what do you think?

[1] http://sf.net/projects/suacomp

markus

> 
> James.




reply via email to

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