mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
Everywhere: Replace a bundle of dbg with dbgln.
These changes are arbitrarily divided into multiple commits to make it
easier to find potentially introduced bugs with git bisect.Everything:
The modifications in this commit were automatically made using the
following command:
find . -name '*.cpp' -exec sed -i -E 's/dbg\(\) << ("[^"{]*");/dbgln\(\1\);/' {} \;
This commit is contained in:
@@ -246,7 +246,7 @@ bool Plan9FS::initialize()
|
||||
|
||||
result = post_message_and_wait_for_a_reply(attach_message);
|
||||
if (result.is_error()) {
|
||||
dbg() << "Attaching failed";
|
||||
dbgln("Attaching failed");
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -663,7 +663,7 @@ ssize_t Plan9FS::adjust_buffer_size(ssize_t size) const
|
||||
|
||||
void Plan9FS::thread_main()
|
||||
{
|
||||
dbg() << "Plan9FS: Thread running";
|
||||
dbgln("Plan9FS: Thread running");
|
||||
do {
|
||||
auto result = read_and_dispatch_one_message();
|
||||
if (result.is_error()) {
|
||||
@@ -676,11 +676,11 @@ void Plan9FS::thread_main()
|
||||
}
|
||||
m_completions.clear();
|
||||
m_completion_blocker.unblock_all();
|
||||
dbg() << "Plan9FS: Thread terminating, error reading";
|
||||
dbgln("Plan9FS: Thread terminating, error reading");
|
||||
return;
|
||||
}
|
||||
} while (!m_thread_shutdown);
|
||||
dbg() << "Plan9FS: Thread terminating";
|
||||
dbgln("Plan9FS: Thread terminating");
|
||||
}
|
||||
|
||||
void Plan9FS::ensure_thread()
|
||||
|
||||
Reference in New Issue
Block a user