tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Fix for libnbcompat's asprintf

On Sun, Jun 17, 2012 at 04:19:05AM +0200, Joerg Sonnenberger wrote:
 > Hi all,
 > there is an old outstanding bug that libnbcompat's asprintf doesn't work
 > correctly, if the output is longer than 128 Bytes. The attached patch
 > fixes that, as long as either va_copy, __builtin_va_copy or direct
 > (struct) assignmemnt of va_list is supported. Can I get some testing for
 > this, especially on HP-UX which has no asprintf?

Hrm, doesn't the va_copy'd ap have to be va_ended separately?

David A. Holland

Home | Main Index | Thread Index | Old Index