[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#6534) bad ifdef/elif clause in liblutil



--On Tuesday, May 25, 2010 6:37 PM +0000 quanah@zimbra.com wrote:

> --On Friday, April 30, 2010 1:23 PM +0000 h.b.furuseth@usit.uio.no wrote:
>
>> quanah@zimbra.com writes:
>>> Actually, the issue seems to be name changes in the header files under
>>> BSD.  This causes TIOCNOTTY to end up being undefined.
>>
>> That would not give the error message shown in
>> <http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg776021.
>> html>:
>>
>> build/buildd-openldap_2.4.21-1-kfreebsd-amd64-VWAqZY/openldap-2.4.21/libr
>> aries/liblutil/detach.c:131:7:  error: missing binary operator before
>> token "long"
>>
>> Line 131 is "#elif TIOCNOTTY".  There's no 'long' there is TIOCNOTTY is
>> undefined, it'd just evaluate to #elif 0.  So my guess is that TIOCNOTTY
>> somewhere is defined to expand to an expression involving a (long) cast.
>
> Apprently so.
>
> <http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg785259.
> html>

Fixed by debian.

--Quanah


--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration