Full_Name: Quanah Gibson-Mount
Version: 2.4.21
OS: NA
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (75.111.45.108)
The following if/elif clause in liblutil is wrong:
#ifdef HAVE_SETSID
(void) setsid();
#elif TIOCNOTTY
if ( (sd = open( "/dev/tty", O_RDWR )) != -1 ) {
(void) ioctl( sd, TIOCNOTTY, NULL );
(void) close( sd );
}
#endif
The elif should be
#elif defined(TIOCNOTTY)