[MPlayer-users] asprintf undefined

Steven M. Schultz sms at 2BSD.COM
Mon Dec 8 20:09:16 CET 2003


On Mon, 8 Dec 2003, Carsten Koch wrote:

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Steven M. Schultz wrote:
> ...
> > 	What is 'asprintf' and where would one expect to find it?
> 
> % man asprintf

	man: no entry for asprintf in the manual.

	nm /usr/lib/libc.a | grep sprintf

vsprintf.o:
00000000 T vsprintf
         U sprintf
         U sprintf
         U sprintf
         U sprintf
         U sprintf
sprintf.o:
00000000 T sprintf

	Would seem that asprintf is not as universal as one could hope for.

	I'll come up with a patch later today that will allow building on
	systems that lack asprintf.    malloc(strlen()) can't be _that_
	hard, can it? ;)

	Steven Schultz



More information about the MPlayer-users mailing list