[Home]

Summary:ASTERISK-06488: [patch] Solaris compile generates warnings for missing alloca prototype in editline/readline.c and editline/np/vis.c
Reporter:drach (drach)Labels:
Date Opened:2006-03-06 16:53:59.000-0600Date Closed:2006-03-06 17:05:24.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) readline.c.patch
( 1) vis.c.patch
Description:Summary says it.  In Solaris, stdlib.h does not include alloca.h as it does in Linux.

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

The patches to the two files are slightly different due to existing code in vis.c that checks for Solaris thus giving a convenient place to put the include statement.  A specific Solaris check was not put in readline.c, but could be if others think that is the best way to do it.
Comments:By: Tilghman Lesher (tilghman) 2006-03-06 17:05:24.000-0600

Slightly different patch, since alloca.h does not exist on *BSD.  In the future, please upload all changes as a single patchfile, relative to the asterisk directory, not a subdirectory.

Committed to 1.2, merged to trunk.