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

Wireshark-bugs: [Wireshark-bugs] [Bug 3161] text2pcap.c define trickery breaks strdup() handling

Date: Fri, 24 Feb 2012 12:35:02 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3161

--- Comment #21 from Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> 2012-02-24 12:35:00 PST ---
(In reply to comment #20)
> OK, I changed it to set _XOPEN_SOURCE to 600 in rev 39501.  We've got a while
> before the next release to find out if breaks other systems...

Unfortunately Solaris 10's feature_tests.h doesn't like this when NOT compiling
in C99 mode (I'm using gcc): it wants _XOPEN_SOURCE to be something *less* than
600.

So in r41182 I changed it to simply not define _XOPEN_SOURCE on Solaris at all.
 It remains set to 600 on other OS's.

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