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.