delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/04/16:00:28

X-Recipient: archive-cygwin AT delorie DOT 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 DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [1.7] Weird error "grep: writing output: Cannot allocate memory"
References: <49FB714A DOT 4010002 AT gmail DOT com> <20090504033921 DOT GA6162 AT ednor DOT casa DOT cgf DOT cx> <20090504035236 DOT GA11270 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20090504035236.GA11270@ednor.casa.cgf.cx>
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

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/

- Raw text -


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