This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygpath: out of memory


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]