[BusyBox 0000743]: [PORTABILITY] printf format strings, %Ld

bugs at busybox.net bugs at busybox.net
Sun Feb 19 21:46:19 UTC 2006


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=743 
====================================================================== 
Reported By:                rfelker
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   743
Category:                   Standards Compliance
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             02-19-2006 13:46 PST
Last Modified:              02-19-2006 13:46 PST
====================================================================== 
Summary:                    [PORTABILITY] printf format strings, %Ld
Description: 
The following files use %L[diouxX] for long long int, instead of
%ll[diouxX]. The former is nonstandard (left unspecified by SuSv3); %L is
intended for use only with floating point values, i.e. %Lf for long
double.

networking/interface.c
coreutils/stat.c
libbb/human_readable.c
e2fsprogs/blkid/blkid_getsize.c
e2fsprogs/blkid/devno.c

Changing all occurances of %L to %ll resolves the problem.

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-19-06 13:46  rfelker        New Issue                                    
02-19-06 13:46  rfelker        Status                   new => assigned     
02-19-06 13:46  rfelker        Assigned To               => BusyBox         
======================================================================




More information about the busybox-cvs mailing list