[BusyBox 0000745]: [PORTABILITY] coreutils/printf.c and cal.c rely on __P for prototypes

bugs at busybox.net bugs at busybox.net
Tue Feb 28 10:16:39 UTC 2006


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=745 
====================================================================== 
Reported By:                rfelker
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   745
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             02-19-2006 15:30 PST
Last Modified:              02-28-2006 02:16 PST
====================================================================== 
Summary:                    [PORTABILITY] coreutils/printf.c and cal.c rely on
__P for prototypes
Description: 
As far as I can tell this is just legacy cruft someone forgot to delete.
The rest of BusyBox does not support pre-ANSI C compilers. If it's
desirable to keep this, please add:

#ifndef __P
#define __P(x) x
#endif

or similar so that BusyBox does not rely on the internal macros of glibc
which are not meant to be available to applications.

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

---------------------------------------------------------------------- 
 vodz - 02-28-06 02:16  
---------------------------------------------------------------------- 
Ok. See 14362 SVN revision. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-19-06 15:30  rfelker        New Issue                                    
02-19-06 15:30  rfelker        Status                   new => assigned     
02-19-06 15:30  rfelker        Assigned To               => BusyBox         
02-28-06 02:16  vodz           Note Added: 0001147                          
02-28-06 02:16  vodz           Status                   assigned => closed  
02-28-06 02:16  vodz           Resolution               open => fixed       
======================================================================




More information about the busybox-cvs mailing list