Re: tin-2.0.0 segfaults in process_mapping()
Thomas Dickey <[email protected]> Mon, 5 Sep 2011 16:50:39 -0400 (EDT)
| Newsgroups | gmane.network.tin.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 5 Sep 2011, Urs Janßen wrote: > On Mon, Sep 05, 2011 at 08:01:22PM +0200, Urs Janßen wrote: >> On Sun, Sep 04, 2011 at 04:12:32PM +0200, clemens fischer wrote: >>> CPPFLAGS = "-D_XOPEN_SOURCE=500" >> >> looks strange for a linux system, I would expect -D_GNU_SOURCE. >> When I set CPPFLAGS to -D_XOPEN_SOURCE=500 before doing configure I can >> reproduce the error: > > on x86_64 linux but not on a 32bit system so I might be that the > strsep(3) implementation for _XOPEN_SOURCE=500 on x86_64 is broken. > > crash: x86_64-unknown-linux-gnu; linux 2.6.24; glibc 2.7; gcc 4.2.4 > crash: x86_64-unknown-linux-gnu; linux 2.6.24; glibc 2.7; icc 12.0.5 > crash: x86_64-unknown-linux-gnu; linux 2.6.38; eglibc 2.13; gcc 4.5.2 > ok : i686-pc-linux-gnu; linux 3.0.0; eglibc 2.13; gcc 4.6.1 I suppose that's possible, since it's implemented via inlining on Linux (looking at /usr/include/bits/string2.h on my local machine). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net