[BusyBox 0000728]: [PORTABILITY] GNU libc asprintf dependency

bugs at busybox.net bugs at busybox.net
Mon Feb 20 11:19:32 UTC 2006


The following issue has been ACKNOWLEDGED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=728 
====================================================================== 
Reported By:                rfelker
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   728
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
====================================================================== 
Date Submitted:             02-18-2006 10:18 PST
Last Modified:              02-20-2006 03:19 PST
====================================================================== 
Summary:                    [PORTABILITY] GNU libc asprintf dependency
Description: 
libbb/bb_asprintf.c fails to compile without GNU vasprintf. A simple
fallback is to first call snprintf with NULL string argument to get the
length (excluding terminator byte), malloc, then call snprintf again with
the new buffer.

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

---------------------------------------------------------------------- 
 vodz - 02-20-06 03:19  
---------------------------------------------------------------------- 
Its require the auto configure infrastructure. 
I don`t know, how detect supporting asprintf in libbb internally in the
compiling process. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-18-06 10:18  rfelker        New Issue                                    
02-18-06 10:18  rfelker        Status                   new => assigned     
02-18-06 10:18  rfelker        Assigned To               => BusyBox         
02-20-06 03:19  vodz           Note Added: 0001122                          
02-20-06 03:19  vodz           Status                   assigned => acknowledged
02-20-06 03:19  vodz           Resolution               open => suspended   
======================================================================




More information about the busybox-cvs mailing list