diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/dir.cc | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 764599513..956d19a65 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2006-01-24 Christopher Faylor <cgf@timesys.com> + + * dir.cc (readdir_worker): Turn off expensive inode calculation. + 2006-01-24 Corinna Vinschen <corinna@vinschen.de> * fhandler_process.cc (fhandler_process::fill_filebuf): Disable diff --git a/winsup/cygwin/dir.cc b/winsup/cygwin/dir.cc index 403b5574b..2e3901dab 100644 --- a/winsup/cygwin/dir.cc +++ b/winsup/cygwin/dir.cc @@ -123,6 +123,7 @@ readdir_worker (DIR *dir, dirent *de) de->__dirent_internal = 0; else { +#if 0 size_t len = strlen (dir->__d_dirname) + strlen (de->d_name); char *path = (char *) alloca (len); char *p = strchr (strcpy (path, dir->__d_dirname), '\0'); @@ -132,9 +133,12 @@ readdir_worker (DIR *dir, dirent *de) de->__dirent_internal = st.st_ino; else { +#endif de->__dirent_internal = hash_path_name (0, dir->__d_dirname); de->__dirent_internal = hash_path_name (de->__dirent_internal, de->d_name); +#if 0 } +#endif } de->__dirent_internal1 = de->__dirent_internal; } |