delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <43C3C018.8080709@byu.net> |
Date: | Tue, 10 Jan 2006 07:09:28 -0700 |
From: | Eric Blake <ebb9 AT byu DOT net> |
User-Agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: bash -c error |
References: | <dpu23k$k1q$1 AT sea DOT gmane DOT org> <43C29D64 DOT 6EA16960 AT dessent DOT net> |
In-Reply-To: | <43C29D64.6EA16960@dessent.net> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Brian Dessent on 1/9/2006 10:29 AM: > >>$ bash -c time >>Segmentation fault (core dumped) >> > > This looks like a bash bug. It looks like only 3.0 is affected, as it works > fine in 3.1. Since 'time' is a builtin, it appears to be a bug in trying to run > time with an empty parameter: 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). - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net volunteer cygwin bash maintainer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDw8AY84KuGfSFAYARAva6AJ9WkvDjfS3l0IWEk9E4nETqlFocbgCeJtuf O10bMNdEBCF/7YZKjQk+eRo= =el5D -----END PGP SIGNATURE----- -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |