Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 5 Sep 2005 11:23:30 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: xargs: argument list too long - new problem with v.4.2.25
Message-ID: <20050905152330.GD609@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
References: <20050905105033.075464A8848@cgf.cx>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050905105033.075464A8848@cgf.cx>
User-Agent: Mutt/1.5.8i

On Mon, Sep 05, 2005 at 11:46:05AM +0100, fergus wrote:
>Just updated xargs from v.4.2.11-cvs to v.4.2.25 with installation of latest
>findutils and I now find that
>	cat filelist | xargs md5sum
>where filelist is a mere 1723 items long, now fails with
>	xargs: md5sum: Argument list too long
>This did not happen with the previous version of xargs, which allowed a list
>equal in length to the entire Cygwin provision (and much more under /home
>and /usr/local) as in
>	find / | xargs md5sum
>Anything I can do to recover the earlier generous behaviour? Thanks.

Eric,
I used to compile findutils with -DARG_MAX=150000 on the gcc command
line to work around this problem.  Undoubtedly there is a better way to
do this, but maybe this is a hint as to what's wrong.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

