[Nagiosplug-devel] [ nagiosplug-Patches-1077808 ] CVS HEAD won't compile with --disable-nls

SourceForge.net noreply at sourceforge.net
Thu Dec 2 13:36:01 CET 2004


Patches item #1077808, was opened at 2004-12-02 20:02
Message generated for change (Comment added) made by opensides
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1077808&group_id=29880

Category: Bugfix
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Andreas Ericsson (ageric)
Assigned to: Nobody/Anonymous (nobody)
Summary: CVS HEAD won't compile with --disable-nls

Initial Comment:
check_dns, check_procs and check_ldap contains calls to
ngettext. ngettext doesn't have a macro, so this
results in compiler errors when gettext isn't linked in
(or simply unavailable).
check_ldap also has some bad code using the
conditionally defined LDAP_HAVE_SET_OPTION without
bothering to check if it's defined.

The attached patch fixes those issues. I haven't tested
running them, but it compiles cleanly and is trivial
enough so as to not need it.

----------------------------------------------------------------------

Comment By: Benoit Mortier (opensides)
Date: 2004-12-02 22:35

Message:
Logged In: YES 
user_id=388184

bug fixed in cvs head 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1077808&group_id=29880




More information about the Devel mailing list