X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49FF4BE6.5020208@gmail.com>
Date: Mon, 04 May 2009 21:11:18 +0100
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [1.7] Weird error "grep: writing output: Cannot allocate memory"
References: <49FB714A.4010002@gmail.com> <20090504033921.GA6162@ednor.casa.cgf.cx> <20090504035236.GA11270@ednor.casa.cgf.cx>
In-Reply-To: <20090504035236.GA11270@ednor.casa.cgf.cx>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Christopher Faylor wrote:
> I made some changes to Cygwin's always-burgeoning console code which limit
> the number of characters transferred to the console.  Could you check if
> it still fails with these changes?

  That fixes both the cygwin-api testcase and the problems with grep.  I also
tested it with strings up to ten meg in size by running

perl -e 'print "A"x10000000' | grep 'AAA'

which fails with the current release DLL and completes successfully with the
newly built one.

  If only those fools upstream would open their source, we could have fixed
the underlying bug for them... ;-)

    cheers,
      DaveK

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

