1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:37:46 +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:
asynts 2021-01-09 18:51:44 +01:00 committed by Andreas Kling
parent 40b8e21115
commit 938e5c7719
95 changed files with 331 additions and 331 deletions

View file

@ -624,7 +624,7 @@ int feof(FILE* stream)
int fflush(FILE* stream)
{
if (!stream) {
dbg() << "FIXME: fflush(nullptr) should flush all open streams";
dbgln("FIXME: fflush(nullptr) should flush all open streams");
return 0;
}
return stream->flush() ? 0 : EOF;

View file

@ -39,7 +39,7 @@ long ulimit([[maybe_unused]] int cmd, [[maybe_unused]] long newlimit)
int getrusage([[maybe_unused]] int who, [[maybe_unused]] struct rusage* usage)
{
dbg() << "LibC: getrusage is not implemented";
dbgln("LibC: getrusage is not implemented");
return -1;
}
}

View file

@ -138,7 +138,7 @@ int execvpe(const char* filename, char* const argv[], char* const envp[])
}
}
errno_rollback.set_override_rollback_value(ENOENT);
dbg() << "execvpe() leaving :(";
dbgln("execvpe() leaving :(");
return -1;
}