On 29/10/11 00:10, Chris Frey wrote:
> On Fri, Oct 28, 2011 at 12:59:33PM +0100, Toby Gray wrote:
>> The changes are all on the master branch of my github repository:
>> git://github.com/tobygray/barry.git
> I've pulled in all your changes except the strnlen ones, since I want
> to give them a bit more thought.  I just don't fully understand the
> logic path on QNX, and I'm a bit worried with both AC_FUNC_STRNLEN
> including strnlen.c and us doing it manually yet as well.

That's a good point, I'd not appreciated that AC_FUNC_STRNLEN added 
strnlen.c to AC_LIBOBJ.

The problem for QNX with AC_FUNC_STRNLEN is that as QNX is a cross 
compilation environment, the AC_LANG_PROGRAM macro doesn't attempt to 
compile and run the test for detecting faulty strnlen implementations. 
The AC_FUNC_STRNLEN macro attempts to guess based on the OS name, with 
AIX being broken and everything else being working.

I've put an updated fix which adds strnlen.c to the AC_LIBOBJs like the 
AC_FUNC_STRNLEN macro does in c93500984d36395e75454cfebe7cb706dc685151 
on my github branch. Does that look more suitable?

Regards,

Toby

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World™ now supports Android™ Apps 
for the BlackBerry® PlayBook™. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to