From 0c5f00f98a5ea0ce297f4002a81166788b4410fc Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 14 Apr 2004 16:51:28 +0000 Subject: [PATCH] * syscalls.cc (fstat64): Use get_namehash instead of hash_path_name. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/syscalls.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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)