[Home]

Summary:ASTERISK-06646: [patch] asprintf missing on Solaris Blocks compiliation
Reporter:silik0n (silik0n)Labels:
Date Opened:2006-03-29 01:49:12.000-0600Date Closed:2006-04-10 02:49:38
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asprintf.v2.patch
Description:asprintf is not part of the POSIX or C specifications and missing on some platforms

patch uses code take from OpenSSH portable compatibility are under the lease restrictive BSD Term.

Copyright statement was intentionally left in patch


****** ADDITIONAL INFORMATION ******

this patch was constructed following other functions in utils.c that may not be found on other systems
Comments:By: silik0n (silik0n) 2006-03-29 02:12:13.000-0600

also, this patch does complile cleanly on linux and OSX (G4)

By: Michael Jerris (mikej) 2006-03-29 08:44:53.000-0600

needs somthing to set the define as well for platforms that have it..

By: silik0n (silik0n) 2006-03-29 09:31:55.000-0600

ok try that on for size

By: silik0n (silik0n) 2006-04-02 17:59:04

bump....

can someone test this and verify its functionality

By: Russell Bryant (russell) 2006-04-08 18:07:25

does that copyright notice apply to vasprintf as well, or just asprintf?

By: silik0n (silik0n) 2006-04-08 18:36:49

moved the (C) comment.... its not exactly clear on the origin of vasprintf (kpf commited that)

By: Tilghman Lesher (tilghman) 2006-04-10 02:49:38

Committed to trunk