BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001034 [uClibc] Stdio major always 09-19-06 08:21 09-20-06 03:00
Reporter GJanak View Status public  
Assigned To uClibc
Priority normal Resolution open  
Status assigned   Product Version
Summary 0001034: *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"



Additional Information uclibc current Subversion Snapshot
gcc 4.1.1

ppc Architectur.
Attached Files

- Relationships

- Notes
(0001638)
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
09-20-06 03:01 GJanak Issue Monitored: GJanak


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker