/[hurd]/hurd/hostmux/mux.c
ViewVC logotype

Diff of /hurd/hostmux/mux.c

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

revision 1.8 by neal, Sun Mar 10 23:59:40 2002 UTC revision 1.9 by roland, Mon May 13 22:33:17 2002 UTC
# Line 339  lookup_host (struct hostmux *mux, const Line 339  lookup_host (struct hostmux *mux, const
339    
340    if (was_cached)    if (was_cached)
341      return 0;      return 0;
342      
343    h_err = getaddrinfo (host, NULL, &hints, &ai);    h_err = getaddrinfo (host, NULL, &hints, &ai);
344    if (! h_err)    if (! h_err)
345      {      {
346        h_err = lookup_addrinfo (mux, host, ai, node);        h_err = lookup_addrinfo (mux, host, ai, node);
347        freeaddrinfo (ai);        freeaddrinfo (ai);
# Line 440  error_t Line 440  error_t
440  netfs_attempt_chmod (struct iouser *cred, struct node *node, mode_t mode)  netfs_attempt_chmod (struct iouser *cred, struct node *node, mode_t mode)
441  {  {
442    mode &= ~S_ITRANS;    mode &= ~S_ITRANS;
443      if ((mode & S_IFMT) == 0)
444        mode |= (node->nn_stat.st_mode & S_IFMT);
445    if (node->nn->name || ((mode & S_IFMT) != (node->nn_stat.st_mode & S_IFMT)))    if (node->nn->name || ((mode & S_IFMT) != (node->nn_stat.st_mode & S_IFMT)))
446      return EOPNOTSUPP;      return EOPNOTSUPP;
447    else    else

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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