Wireshark-bugs: [Wireshark-bugs] [Bug 3161] text2pcap.c define trickery breaks strdup() handling
Date: Sat, 27 Dec 2008 02:41:52 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3161





--- Comment #6 from Mike Frysinger <vapier@xxxxxxxxxx>  2008-12-27 02:41:52 PDT ---
if you dont want to do it like the POSIX spec states because you want to
support broken systems, then i would just start marking things with OS-specific
ifdefs

#ifdef __solaris__
<do extensions or whatever>
#elif defined __hpux__
<do whatever crap>
#else
<do POSIX standard stuff -- i.e. only _XOPEN_SOURCE 500>
#endif

then there shouldnt be much of this "i'm too afraid to make any changes as i'm
worried i'll break old crappy systems"


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