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

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

--On Monday, April 26, 2010 3:10 PM +0000 quanah@OpenLDAP.org wrote:

> Full_Name: Quanah Gibson-Mount
> Version: 2.4.21
> OS: NA
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> The following if/elif clause in liblutil is wrong:

Actually, the issue seems to be name changes in the header files under BSD. 
This causes TIOCNOTTY to end up being undefined.

Here's the header information:

kibi@kbsd:~$ grep TIOCNOTTY /usr/include/ -r
/usr/include/sys/ttycom.h:#define	  TIOCNOTTY	 _IO('t', 113)		/* void tty 
association */

kibi@kbsd:~$ grep ttycom.h -r /usr/include/
/usr/include/sys/tty.h:#include <sys/ttycom.h>
/usr/include/bits/ioctls.h:#include <sys/ttycom.h>

So we either need <bits/ioctls.h> or <sys/ttycom.h> to be included on this 
particular platform.  My guess is the latter would be most appropriate.



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