Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 290571
Collapse All | Expand All

(-)openldap-2.4.21/libraries/liblutil/detach.c.old (-1 / +1 lines)
Lines 128-134 Link Here
128
128
129
#ifdef HAVE_SETSID
129
#ifdef HAVE_SETSID
130
		(void) setsid();
130
		(void) setsid();
131
#elif TIOCNOTTY
131
#elif defined(TIOCNOTTY)
132
		if ( (sd = open( "/dev/tty", O_RDWR )) != -1 ) {
132
		if ( (sd = open( "/dev/tty", O_RDWR )) != -1 ) {
133
			(void) ioctl( sd, TIOCNOTTY, NULL );
133
			(void) ioctl( sd, TIOCNOTTY, NULL );
134
			(void) close( sd );
134
			(void) close( sd );

Return to bug 290571