summaryrefslogtreecommitdiff
path: root/term/users.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-12-05 02:27:42 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-12-05 02:27:42 +0000
commit18779dae7e701265fb1618701c3c926814ee76fb (patch)
tree800e56f3ca2a11c05b5d40755d2218b17f9cd10b /term/users.c
parent288de794aea9ad381bd57da0286a319aee28f82f (diff)
*** empty log message ***
Diffstat (limited to 'term/users.c')
-rw-r--r--term/users.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/term/users.c b/term/users.c
index 63e52803..8b27acee 100644
--- a/term/users.c
+++ b/term/users.c
@@ -1514,9 +1514,6 @@ trivfs_S_io_get_openmodes (struct trivfs_protid *cred,
if (!cred)
return EOPNOTSUPP;
- if (cred->pi.class == pty_class)
- return pty_io_get_openmodes (cred, bits);
-
mutex_lock (&global_lock);
*bits = cred->po->openmodes;
mutex_unlock (&global_lock);
@@ -1535,9 +1532,6 @@ trivfs_S_io_set_all_openmodes (struct trivfs_protid *cred,
if (!cred)
return EOPNOTSUPP;
- if (cred->pi.class == pty_class)
- return pty_io_set_all_openmodes (cred, bits);
-
mutex_lock (&global_lock);
cred->po->openmodes &= ~HONORED_STATE_MODES;
cred->po->openmodes |= (bits & HONORED_STATE_MODES);
@@ -1554,9 +1548,6 @@ trivfs_S_io_set_some_openmodes (struct trivfs_protid *cred,
if (!cred)
return EOPNOTSUPP;
- if (cred->pi.class == pty_class)
- return pty_io_set_some_openmodes (cred, bits);
-
mutex_lock (&global_lock);
cred->po->openmodes |= (bits & HONORED_STATE_MODES);
mutex_unlock (&global_lock);
@@ -1572,9 +1563,6 @@ trivfs_S_io_clear_some_openmodes (struct trivfs_protid *cred,
if (!cred)
return EOPNOTSUPP;
- if (cred->pi.class == pty_class)
- return pty_io_clear_some_openmodes (cred, bits);
-
mutex_lock (&global_lock);
cred->po->openmodes &= ~(bits & HONORED_STATE_MODES);
mutex_unlock (&global_lock);
@@ -1590,9 +1578,6 @@ trivfs_S_io_mod_owner (struct trivfs_protid *cred,
if (!cred)
return EOPNOTSUPP;
- if (cred->pi.class == pty_class)
- return pty_io_mod_owner (owner);
-
mutex_lock (&global_lock);
termflags &= ~NO_OWNER;
foreground_id = owner;
@@ -1609,9 +1594,6 @@ trivfs_S_io_get_owner (struct trivfs_protid *cred,
if (!cred)
return EOPNOTSUPP;
- if (cred->pi.class == pty_class)
- return pty_io_get_owner (owner);
-
mutex_lock (&global_lock);
if (termflags & NO_OWNER)
{
@@ -1631,9 +1613,6 @@ trivfs_S_io_get_async_icky (struct trivfs_protid *cred,
if (!cred)
return EOPNOTSUPP;
- if (cred->pi.class == pty_class)
- return pty_io_get_async_icky (cred, id, idtype);
-
mutex_lock (&global_lock);
if (!(cred->po->openmodes & (O_READ|O_WRITE)))
{
@@ -1656,9 +1635,6 @@ trivfs_S_io_async (struct trivfs_protid *cred,
if (!cred)
return EOPNOTSUPP;
- if (cred->pi.class == pty_class)
- return pty_io_async (cred, notify, id, idtype);
-
mutex_lock (&global_lock);
if (!(cred->po->openmodes & (O_READ|O_WRITE)))
{