patch: poll(2) error checking in service_result_worker_thread.

Andreas Ericsson ae at op5.se
Fri Apr 29 14:16:09 CEST 2005


Ahoy.

Attached is a patch to make the poll(2) call in 
service_result_worker_thread check for errors. It doesn't really do 
anything about errors it finds except logging them, so this shouldn't 
affect neither performance nor functionality.

Apply with
patch -p1 < nagios-poll-errcheck.diff

This needs to be applied before the nonroot-no_drop_priv patch I sent in 
2 minutes ago for them to apply without fuzzy offsets.

-- 
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-poll-errcheck.diff
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20050429/1110c0ae/attachment.ksh>


More information about the Developers mailing list