From 09b0109620d0a6f1122844868ad30d3e66d11e94 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 5 Dec 2005 20:20:18 +0000 Subject: 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. --- winsup/cygwin/dir.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'winsup/cygwin/dir.cc') 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; } -- cgit v1.2.3