[Home]

Summary:ASTERISK-07150: [patch] strnlen multiple definitions
Reporter:Jon Hood (squinky86)Labels:
Date Opened:2006-06-12 14:09:40Date Closed:2006-06-12 15:21:39
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) strnlen_trunk.patch
Description:io.c includes string.h, which provides the strnlen function. io.c also includes asterisk/utils.h which includes asterisk/strings.h. The configure script does not check for strnlen already existing and therefore redefines it. We then have coliding strnlen functions.

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

Attached is a patch to have the build process check for strnlen. It appears someone forgot to add it to AC_CHECK_FUNCS.

Disclaimer falls under Asteria Solutions Group, Inc. umbrella disclaimer.
Comments:By: Tilghman Lesher (tilghman) 2006-06-12 15:21:39

Committed to trunk.