Minor fixes

Ethan Galstad nagios at nagios.org
Sat Apr 30 23:47:44 CEST 2005


Thanks - will be in CVS soon.

On 27 Apr 2005 at 21:38, Andreas Ericsson wrote:

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



Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20




More information about the Developers mailing list