Re: [PATCH] Avoid using dc in git-count-objects
- From
- Herbert Xu <herbert@gondor.apana.org.au>
- Date
- Oct 28, 2005, 04:32 UTC
- Message-ID
- <20051028043211.GA781@gondor.apana.org.au>
- In-Reply-To
- <4361A5BB.5040100@zytor.com>
On Thu, Oct 27, 2005 at 09:14:51PM -0700, H. Peter Anvin wrote:
> > Current ash also has these features, and is about that size compiled > static with klibc :)
Interesting. I just tried it on my POSIX testsuite and unfortunately it failed a number of simple tests including the case statement and segfaulted on quite a few occasions too. I've included one of the segfault scripts here.
Dash is already used in busybox where it has been linked with ulibc. So it can't be that hard to make it work with klibc.
Perhaps you could use dash for your project as well?
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
trap 'rm -f $TMP' EXIT
TMP=$(tempfile)
cat <<- EOF > $TMP
return
echo not here
EOF
a() {
. $TMP
echo here
}
a
cat <<- EOF > $TMP
exit
EOF
(false; . $TMP)
echo $?