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

Date: Tue, 18 May 2010 02:56:41 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3161

--- Comment #13 from Petr Sumbera <petr.sumbera@xxxxxxx> 2010-05-18 02:56:33 PDT ---
(In reply to comment #12)
> (In reply to comment #11)
> > Without the patch from comment #1 it still fails on Solaris (Wireshark 1.3.5):
> 
> I assume you meant comment #0; is this Nevada or Open Solaris?  (Solaris 10
> works fine for me.)

Opps. Correct. I meant comment #0.

Yes, I'm building on Nevada/OpenSolaris.

The compiler is: cc: Sun C 5.9 SunOS_sparc Patch 124867-11 2009/04/30

And it seems that gcc is just fine. At least when compiling problematic module
with:
gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802).

> Does define _XOPEN_SOURCE 500 also work?

No it doesn't..

Also when compiling the module with Sun Studio without "-xc99=all" it went
fine..

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