Wireshark mailing list archives

Re: [Wireshark-commits] rev 31342: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-ssl-utils.c


From: Guy Harris <guy () alum mit edu>
Date: Mon, 21 Dec 2009 13:43:09 -0800


On Dec 21, 2009, at 1:34 PM, gerald () wireshark org wrote:

http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=31342

User: gerald
Date: 2009/12/21 01:34 PM

Log:
Can someone explain why it's a good idea that functions like strlen
return a size_t and then not define a size_t format specifier for sprintf?

C99 (at least in the draft I have) added "z" as the size_t format specifier.

Unfortunately, we can't guarantee that all C language environments we deal with support it.
___________________________________________________________________________
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: