[Nagiosplug-devel] check_overcr patch against 1.3.1

Jason Martin jhmartin at toger.us
Tue Jun 1 09:39:03 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The attach patch against check_overcr from the 1.3.1 release does the 
following:

> * 02-06-04 Todd Carter <na_ape_finder at yahoo.com>
> * Corrected core problem in solaris 2.6 - 2.9 enviroments. Seems that 
getoptlong* .c in solaris returns a NULL value for opt
arg and in linux it returns a "".
> * The result is in solaris this condition causes this plugin to core 
dump
> * - corrected. Also corrected in check_tcp, check_udp, check_http, 
check_nt,
> * check_overcr and check_dns plugins.

- -Jason Martin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.5 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQFAvLDsl2ODWuqVSBMRAvIeAJ9MwKPqXrQI/7GLZ23x7no3FtzrRACeMNHK
deHz3ZMXwx4kV/J6G3D2xNk=
=OM9M
-----END PGP SIGNATURE-----
-------------- next part --------------
9c9
< * $Id: check_overcr.c,v 1.2 2003/01/13 12:15:16 kdebisschop Exp $
---
> * $Id: aws_check_overcr.c,v 1.1.1.1 2004/02/26 20:29:26 nagios Exp $
26c26,32
< * 
---
> *
> * 02-06-04 Todd Carter <na_ape_finder at yahoo.com>
> * Corrected core problem in solaris 2.6 - 2.9 enviroments. Seems that getoptlong* .c in solaris returns a NULL value for optarg and in linux it returns a "". 
> * The result is in solaris this condition causes this plugin to core dump 
> * - corrected. Also corrected in check_tcp, check_udp, check_http, check_nt,
> * check_overcr and check_dns plugins.
> *
370,372c376,380
< 			printf ("%s: Unknown argument: %s\n\n", progname, optarg);
< 			print_usage ();
< 			exit (STATE_UNKNOWN);
---
> 	 	/* TEC and JHM Fix 2/6/04 */
> 		if (optarg != NULL)
> 		printf ("%s: Unknown argument: %s\n\n", progname, optarg);
> 		print_usage ();
> 		exit (STATE_UNKNOWN);
377c385
< 			print_revision (progname, "$Revision: 1.2 $");
---
> 			print_revision (progname, "$Revision: 1.1.1.1 $");
451c459
< 	print_revision (progname, "$Revision: 1.2 $");
---
> 	print_revision (progname, "$Revision: 1.1.1.1 $");


More information about the Devel mailing list