[Glibc-bsd-commits] r1472 - trunk/web/patches
Robert Millan
rmh at costa.debian.org
Fri Apr 21 15:09:02 UTC 2006
Author: rmh
Date: 2006-04-21 15:09:01 +0000 (Fri, 21 Apr 2006)
New Revision: 1472
Modified:
trunk/web/patches/util-linux.diff
Log:
Use login_tty() instead of TIOCSCTTY ioctl.
Modified: trunk/web/patches/util-linux.diff
===================================================================
--- trunk/web/patches/util-linux.diff 2006-04-21 14:54:39 UTC (rev 1471)
+++ trunk/web/patches/util-linux.diff 2006-04-21 15:09:01 UTC (rev 1472)
@@ -185,9 +185,9 @@
+ error("%s: tcgetattr: %m", tty);
+
+ /*
-+ * TIOCSCTTY: steal tty from other process group.
++ * login_tty: steal tty from other process group.
+ */
-+ ioctl(0, TIOCSCTTY, 1);
++ login_tty (0);
/*
* It seems to be a terminal. Set proper protections and ownership. Mode
More information about the Glibc-bsd-commits
mailing list