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

Jeroen Ruigrok van der Werven asmodai at in-nomine.org
Thu May 10 17:30:51 EDT 2007


-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. :(

-- 
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...


More information about the Open-ils-dev mailing list