/[hurd]/hurd/term/users.c
ViewVC logotype

Diff of /hurd/term/users.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.92 by roland, Sat Jun 16 20:24:02 2001 UTC revision 1.93 by marcus, Wed Jan 30 17:43:26 2002 UTC
# Line 1998  error_t Line 1998  error_t
1998  trivfs_S_io_select (struct trivfs_protid *cred,  trivfs_S_io_select (struct trivfs_protid *cred,
1999                      mach_port_t reply,                      mach_port_t reply,
2000                      mach_msg_type_name_t reply_type,                      mach_msg_type_name_t reply_type,
2001                      int *type,                      int *type)
                     int *idtag)  
2002  {  {
2003    if (!cred)    if (!cred)
2004      return EOPNOTSUPP;      return EOPNOTSUPP;
2005    
2006    if (cred->pi.class == pty_class)    if (cred->pi.class == pty_class)
2007      return pty_io_select (cred, reply, type, idtag);      return pty_io_select (cred, reply, type);
2008    
2009    if ((cred->po->openmodes & O_READ) == 0)    if ((cred->po->openmodes & O_READ) == 0)
2010      *type &= ~SELECT_READ;      *type &= ~SELECT_READ;

Legend:
Removed from v.1.92  
changed lines
  Added in v.1.93

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26