Wireshark-bugs: [Wireshark-bugs] [Bug 2385] New: saving preferences does not handle multiline de

Date: Wed, 26 Mar 2008 14:09:26 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2385

           Summary: saving preferences does not handle multiline
                    descriptions properly
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: balint.reczey@xxxxxxxxxxxx



Balint Reczey <balint.reczey@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1591|                            |review_for_checkin?
               Flag|                            |


Created an attachment (id=1591)
 --> (http://bugs.wireshark.org/bugzilla/attachment.cgi?id=1591)
fixes storing muliline preference descriptions

Build Information:
TShark 0.99.8

Copyright 1998-2008 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 with GLib 2.14.6, with libpcap 0.9.8, with libz 1.2.3.3, with libpcre
7.4, without SMI, with ADNS, with Lua 5.1, with GnuTLS 2.2.2, with Gcrypt
1.4.0,
with MIT Kerberos.

Running on Linux 2.6.22-3-686, with libpcap version 0.9.8.

Built using gcc 4.2.3 (Debian 4.2.3-2).

--
When saving preferences, wireshark saves the description of each preference in
a one line comment.
Unfortunately if the description consists of several lines, wireshark comments
out only the fist one.

The attached patch solves the problem by commenting out every lines in the
description.


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