[uClibc 0002714]: sprintf should not pull in most of stdio.h code

bugs at busybox.net bugs at busybox.net
Tue Apr 1 16:26:26 UTC 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=2714 
====================================================================== 
Reported By:                vda
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   2714
Category:                   Stdio
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             04-01-2008 09:26 PDT
Last Modified:              04-01-2008 09:26 PDT
====================================================================== 
Summary:                    sprintf should not pull in most of stdio.h code
Description: 
Use of [v]s[n]printf functions does not require application to necessarily
pull in the whole of stdio.h machinery. Only formatting routines are
needed.

Currently I observe +12k growth when I add a sprintf(dummy_buf, "%d",
some_var) to the program which otherwise does not use stdio.h. For one,
seek and write functions ideally should not appear.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-01-08 09:26  vda            New Issue                                    
04-01-08 09:26  vda            Status                   new => assigned     
04-01-08 09:26  vda            Assigned To               => uClibc          
======================================================================




More information about the uClibc-cvs mailing list