X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "Krzysztof Duleba" Subject: Re: bash -c error Date: Tue, 10 Jan 2006 15:14:52 +0100 Lines: 25 Message-ID: References: <43C29D64 DOT 6EA16960 AT dessent DOT net> <43C3C018 DOT 8080709 AT byu DOT net> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Eric Blake > Thanks for the backtrace. I'll see about rolling a bash 3.0-15 in the > near future. In the meantime, avoid invalid uses of time (POSIX states > that time takes a mandatory argument of the utility name to run; the > bash > extension of letting time take no arguments was the culprit here). This was just a minimal test case. $ bash -c time ls Segmentation fault (core dumped) However, $ bash -c 'time ls' bin cygwin.bat etc lib sbin usr cygdrive cygwin.ico home proc tmp var real 0m0.025s user 0m0.046s sys 0m0.000s Krzysztof Duleba -- 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/