X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_05,SPF_PASS X-Spam-Check-By: sourceware.org X-IronPortListener: Outbound_SMTP From: "Buchbinder, Barry (NIH/NIAID) [E]" To: "cygwin AT cygwin DOT com" Date: Tue, 5 Jan 2010 10:03:29 -0500 Subject: cygpath: out of memory Message-ID: <0105D5C1E0353146B1B222348B0411A208AB97E7D5@NIHMLBX02.nih.gov> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Upgrading from 1.5 to 1.7 I started getting an error message from cygpath where I hadn't previously. This can be exemplified by the following. $ cmd /c dir /s /b o:\\ | cygpath -u -f - | wc cygpath: out of memory 20029 20029 332488 While I've fixed my problem*, I thought that the cygwin developers might want to know. * xargs is my friend. For the record, here is my fix. $ cmd /c dir /s /b o:\\ | tr '\n' '\0' | xargs -0 cygpath -u | ... Thanks for all the work that all the developers have put into cygwin. - Barry Disclaimer: Statements made herein are not made on behalf of NIAID. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple