|Summary:||ASTERISK-07150: [patch] strnlen multiple definitions|
|Reporter:||Jon Hood (squinky86)||Labels:|
|Date Opened:||2006-06-12 14:09:40||Date Closed:||2006-06-12 15:21:39|
|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.