[uClibc 0001034]: *printf Functions dont handle position argument correctly
bugs at busybox.net
bugs at busybox.net
Wed Sep 20 10:00:56 UTC 2006
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=1034
======================================================================
Reported By: GJanak
Assigned To: uClibc
======================================================================
Project: uClibc
Issue ID: 1034
Category: Stdio
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 09-19-2006 08:21 PDT
Last Modified: 09-20-2006 03:00 PDT
======================================================================
Summary: *printf Functions dont handle position argument
correctly
Description:
The *printf Functions dont handle the Position arguments like 1$ 2$
correctly.
%d with 1 works
%*d with 1,2 works
%1$d with 1,2 works "1"
%2$d with 1,2 dont work: "0"
%1$d %2$d with 1,2 : works "1 2"
but
%1$f with 1,2f gives "2"
======================================================================
----------------------------------------------------------------------
GJanak - 09-20-06 03:00
----------------------------------------------------------------------
calling with argument 1,2,"aa" with 1 and 2 a uint32
"%d %d %s" --> 1 2 aa
"%1$d %2$d %3$s" --> 1 2 aa
"%1$d %3$s" --> 1 (null)
"%2$d %3$s" --> 2 (null)
??? where is my fault ?
Issue History
Date Modified Username Field Change
======================================================================
09-19-06 08:21 GJanak New Issue
09-19-06 08:21 GJanak Status new => assigned
09-19-06 08:21 GJanak Assigned To => uClibc
09-20-06 03:00 GJanak Note Added: 0001638
======================================================================
More information about the uClibc-cvs
mailing list