X-Spam-Check-By: sourceware.org
X-SPAM: NO (-0.7/5.0)
X-SPAM-Score: 
X-SPAM-Tests: NO_RELAYS,BAYES_00,MISSING_SUBJECT,TO_CC_NONE,NO_RECEIVED
Message-ID: <43C299C9.7020706@may.be>
Date: Mon, 09 Jan 2006 18:13:45 +0100
From: Cliff Stanford <cliff@may.be>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: bash -c error
References: <dpu23k$k1q$1@sea.gmane.org> <20060109170631.GA6864@trixie.casa.cgf.cx>
In-Reply-To: <20060109170631.GA6864@trixie.casa.cgf.cx>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Christopher Faylor wrote:

> Just try running 'time' from the bash prompt.  You get a SEGV from strlen
> AFAICT.
> 
> This doesn't seem to have anything to do with "-c".  It seems to be an
> issue with the time command.

Not my experience:

cliff@cliff ~
$ time

real    0m0.000s
user    0m0.000s
sys     0m0.000s

cliff@cliff ~
$ bash -c time
Segmentation fault (core dumped)

cliff@cliff ~
$

Regards,
Cliff.

-- 
Cliff Stanford
Might Limited                           +44 845 0045 666 (Office)
Suite 67, Dorset House                  +44 7973 616 666 (Mobile)
Duke Street, Chelmsford, CM1 1TB



--
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/

