diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index a93aa2707..da6527222 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2004-04-14 Corinna Vinschen + + * syscalls.cc (fstat64): Use get_namehash instead of hash_path_name. + 2004-04-14 Corinna Vinschen * fhandler.cc (fhandler_base::open): Simplify access evaluation diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 5f1b58ecb..d4fc77dfc 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -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)