[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [BusyBox] awk patch
From: Glenn McGrath <bug1 () optushome ! com ! au>
Date: 2003-10-30 13:44:41
[Download RAW message or body]
On Wed, 29 Oct 2003 20:11:32 +0200
Dmitry Zakharov <dmit@crp.bank.gov.ua> wrote:
> Hi,
>
> here is a patch to awk applet that fixes two bugs:
> - END block didn't execute after an exit() call
> - huge memory consumption and performance degradation on large input
> (now performance is comparable to gawk)
Applied
> I'm still in doubt about the bug reported by Dave Updegraff (with
> double to int conversion when cross-compiling from Solaris to
> soft-float ppc405). I think, in this case simple casting is enough and
> should work properly. Otherwise it would always require libm.so and
> make applet code very painful (there are tens of conversions). Is
> this way right?
I think its good to avoid extra libraries if we can.
I havent needed to cast from double to int myself, googling finds this
link, which implies casting is enough.
http://lists.trolltech.com/qt-interest/2002-03/msg00049.html
Perhaps its an architecutre specifc compiler bug ?
Glenn
_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic