[OPEN-ILS-DEV] non-portable code: strndup() in osrf-chat.c

Mike Rylander mrylander at gmail.com
Thu May 10 19:14:09 EDT 2007


On 5/10/07, Jeroen Ruigrok van der Werven <asmodai at in-nomine.org> wrote:
> -On [20070510 23:19], Mike Rylander (mrylander at gmail.com) wrote:
> > Right now we don't have the patches in CVS.  I need to go back and
> > look at them again and figure out the best way to integrate them
> > transparently.  The patch, IIRC, consisted of strndup and strnlen
> > implementation, so I think I'll need to build a little bit of
> > infrastructure around them.  I'll do my best to get that done this
> > evening and let you know so you can test with CVS HEAD.
>
> Normally I'd say build them as .o files and link them in with everything that
> requires them, but that will probably cause linking issues with GNU libc.
>
> This really seems an ideal candidate for the autotools stuff. :(

I tend to agree, and if you'd like me to hold off then that's fine.
Or, if you like, I can just put them somewhere sensible in CVS and you
can integrate them into autotools from there.  Either way, if we want
to lean on autotools then we might want to just consider a 'ports'
directory as a holding pen for this kind of thing.  Thoughts?

>
> --
> Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
> イェルーン ラウフロック ヴァン デル ウェルヴェン
> http://www.in-nomine.org/ | http://www.rangaku.org/
> Nothing yet from nothing ever came...
>


-- 
Mike Rylander


More information about the Open-ils-dev mailing list