OSDN Git Service

* syscalls.cc (fstat64): Use get_namehash instead of hash_path_name.
authorcorinna <corinna>
Wed, 14 Apr 2004 16:51:27 +0000 (16:51 +0000)
committercorinna <corinna>
Wed, 14 Apr 2004 16:51:27 +0000 (16:51 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/syscalls.cc

index a93aa27..da65272 100644 (file)
@@ -1,5 +1,9 @@
 2004-04-14  Corinna Vinschen  <corinna@vinschen.de>
 
+       * syscalls.cc (fstat64): Use get_namehash instead of hash_path_name.
+
+2004-04-14  Corinna Vinschen  <corinna@vinschen.de>
+
        * fhandler.cc (fhandler_base::open): Simplify access evaluation
        expression.
        (fhandler_base::facl): New method.
index 5f1b58e..d4fc77d 100644 (file)
@@ -974,7 +974,7 @@ fstat64 (int fd, struct __stat64 *buf)
       if (!res)
        {
          if (!buf->st_ino)
-           buf->st_ino = hash_path_name (0, cfd->get_win32_name ());
+           buf->st_ino = cfd->get_namehash ();
          if (!buf->st_dev)
            buf->st_dev = cfd->get_device ();
          if (!buf->st_rdev)