Re: (fwd) tin crashes on MacOS 10.4

Thomas Dickey <[email protected]> Thu, 31 Dec 2009 13:28:29 -0500 (EST)
Newsgroups gmane.network.tin.devel
Message-ID <[email protected]>
On Thu, 31 Dec 2009, Dennis Preiser wrote:

> On Thu, Dec 31, 2009 at 06:23:55PM +0100, Urs Janssen wrote:
>> On Tue, Dec 29, 2009 at 07:42:28PM -0500, Thomas Dickey wrote:
>>>>> darwin*) #(vi
>>>>> 	CPPFLAGS="$CPPFLAGS -D_DARWIN_C_SOURCE"
>>>>> 	;;
>>>>
>>>> No problems here with this (MacOS X 10.4).
>>>
>>> sounds good (will update my copy of the macro, and send a resync - I have
>>> other changes, of course...).
>>
>> below is an alternative way to fix this
>
> [diff]
>
> Yes, this fixes the crash too.
>
> Nevertheless, I would like to see the configure stuff in tin too. I mean
> this:
>
> darwin <= 8: CPPFLAGS="$CPPFLAGS -D_APPLE_C_SOURCE"
> darwin > 8 : CPPFLAGS="$CPPFLAGS -D_DARWIN_C_SOURCE"
>
> or something similar. Otherwise, a lot of things are undefined (for
> instance SIGWINCH) or prototypes are missing.

I have a fix for that (used in ncurses/xterm), and see that I overlooked
it in previous resync's.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net