* syscalls.cc (fstat64): Use get_namehash instead of hash_path_name.

This commit is contained in:
Corinna Vinschen 2004-04-14 16:51:28 +00:00
parent e3d1d51579
commit 0c5f00f98a
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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

View 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)