Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] missing strndup

2013-09-04 by Johann Klasek

On Wed, Sep 04, 2013 at 11:48:47AM +0200, Jim Klimov wrote:
> On 2013-09-04 09:04, Bruncsak, Attila wrote:
> > On my system there is no strndup function.
> 
> No offense intended (I too needed to do a lot of minor massaging
> for programs under different revisions of Solaris), but rather
> out of curiosity: what system do you use that things are missing
> also here and there? ;)

Especially (at least) up to Solaris 10 strndup() is not provided.
strndup() can be found in POSIX base starting with POSIX.1-2008.
AFAIK Solaris conforms only to POSIX.1-2001.
However, autoconf should handle it as suggested by Attila ...

(probably we'll hear "submit a patch" from Manu soon ;) )


Johann

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.