Re: libassuan troubles

Michael Nottebrock <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gpa.devel
Message-ID <[email protected]>
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               | [email protected]
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

_______________________________________________
Gpa-dev mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gpa-dev
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAg/PuXhc68WspdLARAsqXAJ9kAfGuEcabaKOGlS49X1Obcdh9RQCfcY9m
rZId9djTy3KzqKSfv4B/G2U=
=+nJ0
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.