libassuan troubles

Michael Nottebrock michaelnottebrock at gmx.net
Mon Apr 19 17:44:46 CEST 2004


On Monday 19 April 2004 17:15, Marcus Brinkmann wrote:
> At Mon, 19 Apr 2004 16:54:37 +0200,
>
> Michael Nottebrock wrote:
> > [1  <text/plain; iso-8859-1 (quoted-printable)>]
> >
> > On Monday 19 April 2004 16:34, Marcus Brinkmann wrote:
> > > This seems spurious.  Maybe putc_unlocked is only defined as a macro
> > > on BSD, and thus circumvents the autoconf tests?  This would sound
> > > broken to me (it may be allowed to define it as a macro, but it should
> > > still be defined as a function in the library).
> >
> > Yes, it's a macro. However, I don't see what's wrong about that other
> > than making autoconf's life harder.
>
> putc_unlocked is specified as a function that may be defined as a
> macro.  The fact that it is defined as a macro does not relief you
> from also declaring and defining it as a function.

It seems our standards guys agree and indeed FreeBSD 5 has putc_unlocked 
defined in libc and the autoconf check does work there, too, so only FreeBSD 
4.x is affected. I'm not sure if that's still worth the trouble of adding a 
special case (in libassuan or autoconf).

-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : /pipermail/attachments/20040419/0186563c/attachment.bin


More information about the Gpa-dev mailing list