delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/05/11:23:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 5 Sep 2005 11:23:30 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT 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 AT cygwin DOT com
References: <20050905105033 DOT 075464A8848 AT cgf DOT cx>
Mime-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019