Xymon Mailing List Archive search

urlplus.pl / xymongrep

list Hermann-Josef Beckers
Thu, 23 Dec 2010 11:45:32 +0100
Message-Id: <user-cd7adc830b60@xymon.invalid>

Dominique Frise <user-78ab6673b600@xymon.invalid> schrieb am 23.12.2010 09:22:32:

...
Hi,

Henrik released a patch for xymongrep/4.3.0.beta3:

Revision: 6592
           http://xymon.svn.sourceforge.net/xymon/?rev=6592&view=rev
Author:   storner
Date:     2010-11-16 20:46:52 +0000 (Tue, 16 Nov 2010)

Log Message:
xymongrep: Fix broken commandline parsing resulting from trying to be backwards-compatible. Reported by Jason Chambers.

Modified Paths:
     branches/4.3.0/common/xymongrep.c

Modified: branches/4.3.0/common/xymongrep.c
===================================================================
--- branches/4.3.0/common/xymongrep.c   2010-11-16 10:27:52 UTC (rev 
6591)
+++ branches/4.3.0/common/xymongrep.c   2010-11-16 20:46:52 UTC (rev 
6592)
@@ -146,7 +146,7 @@
           printf("xymongrep version %s\n", VERSION);
           exit(0);
        }
-      else if ((strcmp(argv[argi], "--net") == 0) || 
(strcmp(argv[argi], 
"--bbnet"))) {
+      else if ((strcmp(argv[argi], "--net") == 0) || 
(strcmp(argv[argi], 
"--bbnet") == 0)) {
           include2 = "netinclude";
           onlypreferredentry = 0;
        }
...
Thanks Dominique (and Michael),

but that didn't help. It gives the same error. What confuses me is the fact
that my 4.3.0 version still uses the "bb*" names and not the "xymon*" names,
despite the webpage stating "xymon 4.3.0-beta3". And a "make install" doesn't
change the names. Should I take the latest tarball and install anew?

Yours
hjb