[BusyBox 0000136]: expr get weird results with long numbers

bugs at busybox.net bugs at busybox.net
Thu Dec 8 06:08:14 UTC 2005


The following issue requires your FEEDBACK. 
====================================================================== 
http://busybox.net/bugs/view.php?id=136 
====================================================================== 
Reported By:                dreamworks
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   136
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             03-08-2005 11:50 PST
Last Modified:              12-07-2005 22:08 PST
====================================================================== 
Summary:                    expr get weird results with long numbers
Description: 
hi guys,

i'm trying to use busybox within an ramdisk installer image and expr to do
some free disk space calculation... Seems to me that expr just works with
ints or at most unsigned ints... please be aware that modern hard drives
contain 120 GB which are a lot of bytes... (which can not be divided
within expr busybox)

Greetings from Germany




====================================================================== 

---------------------------------------------------------------------- 
 landley - 12-07-05 22:08  
---------------------------------------------------------------------- 
Looking at fixing this, but a reproduction test case would be good. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-08-05 11:50  dreamworks     New Issue                                    
03-16-05 12:27  andersen       Assigned To              andersen => BusyBox 
12-07-05 22:08  landley        Note Added: 0000740                          
12-07-05 22:08  landley        Status                   assigned => feedback
======================================================================




More information about the busybox-cvs mailing list