delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/02/29/00:48:17

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <47C79C75.5000508@tlinx.org>
Date: Thu, 28 Feb 2008 21:47:33 -0800
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: another minor cygcheck "nit"
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

cygcheck doesn't handle the "max arg length" as shown by "xargs"...
I.e. -

> cygcheck -f /bin/*
bash: /usr/bin/cygcheck: Argument list too long
> echo /bin/*|xargs cygcheck -f
xargs: cygcheck: Argument list too long

#Note:
cygcheck /bin/[a-r]*     # works (wc -wc = 1780 32365)
cygcheck /bin/[a-s]*     # fails (wc -wc = 1874 33917)

# -- looks like a 2^15 boundary prob?

> xargs --show-limits
Your environment variables take up 3867 bytes
POSIX upper limit on argument length (this system): 1042661
POSIX smallest allowable upper limit on argument length (all systems): 4096
Maximum length of command we could actually use: 1038794
Size of command buffer we are actually using: 1042661

Guess cygcheck isn't a POSIX app?

-l


--
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