diff options
author | Christopher Faylor <me@cgf.cx> | 2005-12-05 20:20:18 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-12-05 20:20:18 +0000 |
commit | 09b0109620d0a6f1122844868ad30d3e66d11e94 (patch) | |
tree | 6e1672b2aa6da1db05a6d333cbed92a2abf2ed8c /winsup/cygwin/dir.cc | |
parent | 801d6cc7532a6f419c3553c4180820db6540f263 (diff) | |
download | cygnal-09b0109620d0a6f1122844868ad30d3e66d11e94.tar.gz cygnal-09b0109620d0a6f1122844868ad30d3e66d11e94.tar.bz2 cygnal-09b0109620d0a6f1122844868ad30d3e66d11e94.zip |
Remove unneeded whitespace.
* cygtls.cc (_cygtls::set_state): Delete.
(_cygtls::reset_exception): Ditto.
(_cygtls::init_thread): Set initialized state directly here.
(_cygtls::push): Remove exception argument. Don't treat exceptions specially.
* cygtls.h (_cygtls::push): Ditto.
(_cygtls::isinitialized): Don't treat exceptions specially.
(_cygtls::reset_exception): Delete.
(_cygtls::set_state): Ditto.
(_cygtls::handle_exceptions): Don't push ebp on the stack prior to calling
sig_send. Just set incyg instead.
(_cygtls::interrupt_setup): Accommodate _cygtls::push argument change.
(_cygtls::interrupt_now): Ditto.
(setup_handler): Don't treat exceptions specially.
* gendef (longjmp): Always zero incyg flag.
Diffstat (limited to 'winsup/cygwin/dir.cc')
-rw-r--r-- | winsup/cygwin/dir.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/dir.cc b/winsup/cygwin/dir.cc index 6faddf37b..121b5a4a9 100644 --- a/winsup/cygwin/dir.cc +++ b/winsup/cygwin/dir.cc @@ -99,6 +99,9 @@ readdir_worker (DIR *dir, dirent *de) } if (!res) +#if 1 + de->d_ino = 0; +#else { /* Compute d_ino by combining filename hash with the directory hash (which was stored in dir->__d_dirhash when opendir was called). */ @@ -136,6 +139,7 @@ readdir_worker (DIR *dir, dirent *de) } de->__ino32 = de->d_ino; // for legacy applications } +#endif return res; } |