[collectd] [PATCH] Added the AC_FUNC_STRERROR_R check.

Sebastian Harl sh at tokkee.org
Sun Sep 2 17:05:57 CEST 2007


On Sun, Sep 02, 2007 at 04:56:15PM +0200, Philipp Giebel wrote:
> Sebastian Harl schrieb:
> > Even though Posix requires "strerror_r" to return an "int", some systems
> > (e.g. the GNU libc) return a "char *" _and_ ignore the second argument.
> > 
> > sstrerror() (in src/common.c) has been changed to be aware of this and
> > handle both cases correctly.
> What the..? :) After having applied that patch to the vanilla 4.1.0
> source, files for "/usr/lib/collectd/" are being installed in
> "/usr/lib/AC_PACKAGE_TARNAME/".. :-O

How did you apply the patch? Have you tried using a freshly unpacked sources


Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20070902/794b0776/attachment.pgp 

More information about the collectd mailing list