From 99138976d9f0e9f94e9920af5e61ace9fd5554df Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 24 Jul 2002 05:37:47 +0000 Subject: * path.cc (path_conv::check): Always set fileattr when component == 0. (readlink): Use path_conv method rather than field. * fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Ditto, throughout. * path.h (path_conv): Make fileattr private. * exceptions.cc (try_to_debug): Default to idle priority when looping. --- winsup/cygwin/exceptions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/exceptions.cc') diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 764ae5a84..f907b21a4 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -391,9 +391,9 @@ try_to_debug (bool waitloop) system_printf ("Failed to start debugger: %E"); else { + SetThreadPriority (hMainThread, THREAD_PRIORITY_IDLE); if (!waitloop) return 1; - SetThreadPriority (hMainThread, THREAD_PRIORITY_IDLE); while (!being_debugged ()) /* spin */; Sleep (4000); -- cgit v1.2.3