www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/12/24/01:46:16

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Message-ID: <3C26CF59.9AFF10B4@is.elta.co.il>
Date: Mon, 24 Dec 2001 08:46:49 +0200
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Mailer: Mozilla 4.04 [en] (WinNT; I)
MIME-Version: 1.0
To: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
CC: djgpp-workers AT delorie DOT com
Subject: Re: v2.03 refresh issue - passing 3K argument list [was Re: A new bug?]
References: <10112240505 DOT AA21684 AT clio DOT rice DOT edu>
Reply-To: djgpp-workers AT delorie DOT com

Charles Sandmann wrote:
> 
> testit.sh:
> ./djecho "`./cat test.fil`"
> 
> Then:
> bash testit.sh
> 
> This doesn't use make; it does fail if test.fil is big, it succeeds if
> test.fil is small or bash 2.05 is used.  It also succeeds if the bash
> builtin echo is used or if the double quotes are removed (among lots
> of other things ...)

I think that's the change in glob Mark mentioned: there's a 2000-character
buffer there used for globbing, and using quotes makes this a single
argument that needs to fit into that buffer.

We could enlarge that buffer if 2K is too small, but that's unrelated
to the issue you were worried about.

- Raw text -


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