ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Small typo in str_util.c

From: Gerald Combs <gerald@xxxxxxxxxxxxx>
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.