[BusyBox 0000599]: awk patch needed for 64bit systems not in pre1

bugs at busybox.net bugs at busybox.net
Tue Dec 13 10:36:19 UTC 2005


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=599 
====================================================================== 
Reported By:                mloehr
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   599
Category:                   Documentation
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             12-13-2005 02:36 PST
Last Modified:              12-13-2005 02:36 PST
====================================================================== 
Summary:                    awk patch needed for 64bit systems not in pre1
Description: 
I had a look into busybox-1.1.0-pre1. As we are working on a 64bit
platform, we always have to apply the following patch to get a working
awk:

diff -ur busybox-1.00-rc3/editors/awk.c busybox-1.00-rc3-/editors/awk.c
--- busybox-1.00-rc3/editors/awk.c      2004-07-31 01:52:08.000000000
+0200
+++ busybox-1.00-rc3-/editors/awk.c     2005-01-16 18:53:12.217614216
+0100
@@ -1890,7 +1891,7 @@
        int i, l, ll, n;

        tv = nvalloc(4);
-       isr = info = op->info;
+       isr = info = (unsigned int) op->info;
        op = op->l.n;

        av[2] = av[3] = NULL;


As this small patch does not hurt for the 32bit platforms it would be nice
if it could be generally integrated into the code for the final 1.01
version.


best regards

  Michael

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-13-05 02:36  mloehr         New Issue                                    
12-13-05 02:36  mloehr         Status                   new => assigned     
12-13-05 02:36  mloehr         Assigned To               => BusyBox         
======================================================================




More information about the busybox-cvs mailing list