Minor fixes
Andreas Ericsson
ae at op5.se
Wed Apr 27 21:38:31 CEST 2005
Ahoy all.
It's been awfully quiet on this list for quite some time, so I thought
it was time to make something happen.
Attached are two patches. One (nagios-clean-compile.diff) that makes
Nagios base build cleanly with all the warnings of base/Makefile (at
least on x86 with gcc-3.4.3, glibc-2.3.3 and headers from the 2.4.30
kernel).
The other (nagios-wide-std-conform.diff) replaces bzero(3) and index(3)
calls with memset(3) and strchr(3), respectively. The reason for this is
that memset and strchr conforms to SVID3, ISO9899 and BSD4.3, while
bzero and index only conforms to BSD4.3. bzero is also deprecated
according to the man-page.
Apply with patch -p1. nagios-clean-compile needs to be applied first.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nagios-wide-std-conform.diff
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20050427/8db81656/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nagios-clean-compile.diff
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20050427/8db81656/attachment-0001.ksh>
More information about the Developers
mailing list