On Saturday 02 October 2010 00:40, Stefan Tomanek wrote: > OK, I pulled *mem_unit into the format macro to avoid the overflow; now the > memory values get shifted first, which will hopefully avoid the overflow.
Now they will underflow. Try shifting 500000 right by 20 bits and then multiplying by 1024. The result is 0. Thus, free -m will show 500 megabytes as 0. Not good. Please try latest git, I committed a sligtly changed version which should work. Let me know if it does not. -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
