Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 3500] Add Python embedding to Windows makefiles

Date: Wed, 15 Jun 2011 20:07:54 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3500

--- Comment #27 from Guy Harris <guy@xxxxxxxxxxxx> 2011-06-15 20:07:53 PDT ---
In randpkt.c, the use of ssize_t is, not entirely surprisingly, inside "#ifndef
_WIN32"/"#endif".  It's only used in code that uses /dev/random, which is a
UN*Xism, and the value is ssize_t because that's what read() returns on UN*X.

gtk/export_object.c is a bit more work, but we could probably add a ws_ssize_t
type in wsutil/file_util.h and have it be ssize_t on UN*X and int on Windows,
to match the return value of write() on UN*X and _write() on Windows.

That should let us get rid of the definition of ssize_t.

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