[MPlayer-dev-eng] [PATCH] asprintf undefined

Alex Beregszaszi alex at fsn.hu
Mon Dec 8 22:01:43 CET 2003


Hi,

> 	On a linux system the asprintf manpage mentiones that asprintf
> 	is a GNU extension and one of the systems I'm using (a BSD
> 	variant) happens to be unlucky enough to lack asprintf.
> 
> 	I've attached a patch for consideration which uses malloc +
> 	strlen to achieve the same effect as asprintf.
Applied, it's brain damaged anyways.

-- 
Alex Beregszaszi <alex at fsn.hu>
(MPlayer Core Developer -- http://www.mplayerhq.hu/)



More information about the MPlayer-dev-eng mailing list