bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash -c error


From: Eric Blake
Subject: Re: bash -c error
Date: Tue, 10 Jan 2006 06:53:58 -0700
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to U-DULI2Krzysiek on 1/9/2006 9:25 AM:
> 
> Description:
>       bash -c time stackdumps.

This was fixed in bash 3.1.  The root cause was an attempt to do a strdup
of NULL, since time was not given any arguments.  Also be aware that if
your script strives for POSIX conformance, you must pass a utility name as
an argument to time; it is a bash extension that time works without arguments.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----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

iD8DBQFDw7x284KuGfSFAYARAuBMAJ9jkcJepD3tabfRhx3gYCyIiF2wYgCeJXny
sbyW+jbK0feSj32v1JZlwmM=
=3r9G
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]