Wireshark mailing list archives

Re: Small typo in str_util.c


From: Gerald Combs <gerald () wireshark org>
Date: Fri, 01 Mar 2013 09:16:35 -0800

On 2/28/13 7:17 AM, Jeff Morriss wrote:
Anders Broman wrote:
Hi,

Str_util.c prints I64 instead of the value due to a couple of typos.

Hmm, those typos are actually r47934:

 str_util.c: Although the glib documentation doesn't explicitly say so,
 it looks like the thousands grouping (') modifier is supported so use it
 in format_size.

I was going to comment that I /suspect/ the reason it looks like it
works is that Gerald's system happens to be running a GNU sprintf() on
the backend.

GLib includes its own printf implementation which can be enabled at
configure time with --enable-included-printf. I had assumed the OBS
packages do this but it looks like they don't.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: