[OPEN-ILS-DEV] non-portable code: strndup() in osrf-chat.c
Bill Ott
bott at grpl.org
Thu May 10 17:08:21 EDT 2007
Back on the FreeBSD front, I've returned to this point, where I have no
strndup(). I have the code Jeroen provided back on the 2nd, but
frankly, I'm not sure what to do with it in this case.
Or, do I even need to build the jserver, since I'm using Ejabberd? In
which case I could just eliminate reference to it from the Makefile.
Jeroen Ruigrok van der Werven said the following on 04/30/2007 03:54 PM:
> -On [20070430 21:38], Jeroen Ruigrok van der Werven (asmodai at in-nomine.org) wrote:
>
>> [...] meaning you have to provide your own implementation anyway.
>>
>
> I found a MIT licensed implementation of strndup(). Now all I need is an
> accompanying strnlen() to make it without too much additional hackery.
>
>
More information about the Open-ils-dev
mailing list