Wireshark-bugs: [Wireshark-bugs] [Bug 5353] New: editcap -h some lines are sent to stderr and ot
Date Prev · Date Next · Thread Prev · Thread Next
Date: Sun, 31 Oct 2010 22:13:22 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5353

           Summary: editcap -h some lines are sent to stderr and others to
                    stdout (patch)
           Product: Wireshark
           Version: 1.4.1
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Extras
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: jpo@xxxxxxxxxxxx


Created an attachment (id=5402)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=5402)
Patch produced against trunk

Build Information:
$ tshark -v
TShark 1.4.1

Copyright 1998-2010 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (32-bit) with GLib 2.26.0, with libpcap 1.1.1, with libz 1.2.5,
without
POSIX capabilities, with libpcre (version unknown), with SMI 0.4.8, with c-ares
1.7.3, with Lua 5.1, without Python, with GnuTLS 2.8.6, with Gcrypt 1.4.6, with
MIT Kerberos, without GeoIP.

Running on Darwin 9.8.0 (Mac OS 10.5.8), with libpcap version 1.1.1, with libz
1.2.5.

Built using gcc 4.0.1 (Apple Inc. build 5493).
--
editcap -h sends 9 lines to stderr and the rest to stdout.  This problem
affects editcap 1.4.x (branch 1.4) and devel (trunk).

How to duplicate:
 1) run "editcap -h"
 2) run "editcap -h > /dev/null"

The attached patch replaces 9 ocurrences of "stderr" by "output" in the usage
function.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.