[BusyBox 0000743]: [PORTABILITY] printf format strings, %Ld
bugs at busybox.net
bugs at busybox.net
Wed Apr 12 08:04:46 UTC 2006
The following issue has been CLOSED
======================================================================
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: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 02-19-2006 13:46 PST
Last Modified: 04-12-2006 01:04 PDT
======================================================================
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.
======================================================================
----------------------------------------------------------------------
bernhardf - 04-11-06 11:27
----------------------------------------------------------------------
I changed that, but now i think that it would have been better to use
%j[dux] for the uintmax_t, no?
----------------------------------------------------------------------
bernhardf - 04-12-06 01:04
----------------------------------------------------------------------
Fixed on trunk as r14831.
Scheduled to be checked into 1_1_stable in a few days.
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
04-11-06 11:27 bernhardf Note Added: 0001264
04-12-06 01:04 bernhardf Status assigned => closed
04-12-06 01:04 bernhardf Note Added: 0001269
======================================================================
More information about the busybox-cvs
mailing list