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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user