/[hurd]/hurd/ftpfs/dir.c
ViewVC logotype

Diff of /hurd/ftpfs/dir.c

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

revision 1.11 by marcus, Sun Jan 7 19:31:49 2001 UTC revision 1.12 by marcus, Sat Apr 20 03:22:46 2002 UTC
# Line 483  ftpfs_refresh_node (struct node *node) Line 483  ftpfs_refresh_node (struct node *node)
483                if (!err && entry->noent)                if (!err && entry->noent)
484                  err = ENOENT;                  err = ENOENT;
485              }              }
486            else            else if (*(entry->name))
487              {              {
488                  /* The root node is treated seperately below.  */
489                struct ftp_conn *conn;                struct ftp_conn *conn;
490    
491                err = ftpfs_get_ftp_conn (dir->fs, &conn);                err = ftpfs_get_ftp_conn (dir->fs, &conn);
# Line 518  ftpfs_refresh_node (struct node *node) Line 519  ftpfs_refresh_node (struct node *node)
519                    entry->name_timestamp = timestamp;                    entry->name_timestamp = timestamp;
520                  }                  }
521              }              }
522              else
523                {
524                  /* Refresh the root node with the old stat
525                     information.  */
526                  struct refresh_entry_state res;
527                  res.entry = entry;
528                  res.timestamp = timestamp;
529                  err = update_old_entry (entry->name,
530                                          &netfs_root_node->nn_stat,
531                                          NULL, &res);
532                }
533          }          }
534    
535        if ((entry->stat.st_mtime < node->nn_stat.st_mtime        if ((entry->stat.st_mtime < node->nn_stat.st_mtime

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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