[BusyBox 0000745]: [PORTABILITY] coreutils/printf.c and cal.c rely on __P for prototypes
bugs at busybox.net
bugs at busybox.net
Sun Feb 19 23:30:50 UTC 2006
The following issue has been SUBMITTED.
======================================================================
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: assigned
======================================================================
Date Submitted: 02-19-2006 15:30 PST
Last Modified: 02-19-2006 15:30 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.
======================================================================
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
======================================================================
More information about the busybox-cvs
mailing list