Re: (fwd) tin crashes on MacOS 10.4

Dennis Preiser <[email protected]> Thu, 31 Dec 2009 19:22:30 +0100
Newsgroups gmane.network.tin.devel
Message-ID <[email protected]>
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.

Dennis