[Nagiosplug-devel] Gnulib alternative? (was: Libtap included in distribution)

Holger Weiss holger at CIS.FU-Berlin.DE
Fri Aug 22 17:24:43 CEST 2008


* Andreas Ericsson <ae at op5.se> [2008-08-22 17:09]:
> ton.voon at altinity.com wrote:
> > A more entrenched example would be GNU lib - we embed their code (at their
> > recommendation).
>
> While we're at it, I'm pretty much against this too. Plugins, weighing
> in at an average of 555.57 LoC, that can't be made to run without a
> rather large compatibility library need to be looked over. Especially
> when the functions gnulib typically provides are along the lines of
> strndup(), vasnprintf(), full_write() et al.

What's your suggestion?  Don't use non-essential stuff like asprintf()?
Or rewrite everything we need from Gnulib?  Or use something else than
Gnulib?  If so, what (and why)?  Or just forget about portability?

Holger




More information about the Devel mailing list