Dear Ladies and gentlemen,

There have been a lot of changes in emitter.c (which seems to be the
culprit in the FreeBSD SIGBUS when dumping data) since 2.1.2, but this
seems to fix it for me

pc09011> diff -u emitter.c emitter.c.dist 
--- emitter.c   Fri Sep 20 16:34:10 2002
+++ emitter.c.dist      Fri Sep 20 16:24:43 2002
@@ -1208,7 +1208,6 @@
 
     while(tmpStr != NULL) {
       int j;
-      int i= 0;
 
       while((tmpStr[i] != '\0') && (tmpStr[i] != '='))
        i++;
pc09011>

the emiiter.c in 2.1.2 does this.

i is very clearly initialised at the start of the function so I can't 
see why this is necessary, but gdb shows it to have a 'garbage' value.

Yours sincerely.

-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop-dev

Reply via email to