[Nagiosplug-devel] check_nt patch against 1.3.1
Jason Martin
jhmartin at toger.us
Tue Jun 1 09:44:04 CEST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The attached patch against the 1.3.1 release of check_nt 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 getopt_long.c returns a NULL value in Solaris and "" in
Linux.
> * The result is in solaris this condition causes this plugin to core
dump
- -Jason Martin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.5 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/
iD8DBQFAvLIbl2ODWuqVSBMRAjqFAJ9Ei5O5v4YvSCH0rBNTWNG6MT/MBwCdH+qM
lnmE7QE/S/XPE3VvoWvRT+8=
=LAbo
-----END PGP SIGNATURE-----
-------------- next part --------------
28a29,35
> * Revision:
> * * 02-06-04 Todd Carter <na_ape_finder at yahoo.com>
> * Corrected core problem in solaris 2.6 - 2.9 enviroments.
> * Seems that getopt_long.c returns a NULL value in Solaris and "" in Linux.
> * 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.
437,440c444,450
< case '?': /* print short usage statement if args not parsable */
< printf("%s: Unknown argument: %s\n\n",progname,optarg);
< print_usage();
< exit(STATE_UNKNOWN);
---
> case '?':
> /* print short usage statement if args not parsable */
> /* TEC and JHM Fix 2/6/04 */
> if (optarg != NULL)
> printf("%s: Unknown argument: %s\n\n",progname,optarg);
> print_usage();
> exit(STATE_UNKNOWN);
445c455
< print_revision(progname,"$Revision: 1.7.2.3 $");
---
> print_revision(progname,"$Revision: 1.1.1.1 $");
522c532
< print_revision(progname,"$Revision: 1.7.2.3 $");
---
> print_revision(progname,"$Revision: 1.1.1.1 $");
More information about the Devel
mailing list