Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2006 14:00:58 -0700
From:      Cy Schubert <Cy.Schubert@komquats.com>
To:        freebsd-ports@freebsd.org
Subject:   net/tcpview bug
Message-ID:  <200605122100.k4CL0wZx001036@cwsys.cwsent.com>

next in thread | raw e-mail | index | archive | help
I've noticed quirky little bug in net/tcpview that manifests itself with 
various outputs being redirected to stdout rather than the Motif widget 
they are supposed to display in. The application has its own printf 
function which, depending on the value of a global variable called Zflag, 
will either vsprintf the output to a buffer destined to be displayed in the 
Motif window or spit it out to stdout using fprintf. My make.conf contains 
the statement, CFLAGS=-O -pipe. This works for buildworld, buildkernel, and 
all my 1170 installed ports so far, except net/tcpview. Building tcpview 
with make CFLAGS=-O0 fixes the problem. As a heads up, when I get the 
chance I will commit a patch to the port to fix this problem, unless some 
other committer beats me to it.



-- 
Cheers,
Cy Schubert <Cy.Schubert@komquats.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

			e**(i*pi)+1=0





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605122100.k4CL0wZx001036>