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