1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 02:07:35 +00:00

LibCore: Remove all remaining C prefix references

LibCore's GZip is also moved into the Core namespace with this change.
This commit is contained in:
Shannon Booth 2020-03-07 11:37:51 +13:00 committed by Andreas Kling
parent 4a271430f8
commit 57f1c919df
17 changed files with 42 additions and 34 deletions

View file

@ -176,7 +176,7 @@ bool copy_directory(String src_path, String dst_path)
}
Core::DirIterator di(src_path, Core::DirIterator::SkipDots);
if (di.has_error()) {
fprintf(stderr, "cp: CDirIterator: %s\n", di.error_string());
fprintf(stderr, "cp: DirIterator: %s\n", di.error_string());
return false;
}
while (di.has_next()) {

View file

@ -44,7 +44,7 @@ static int handle_show_all()
{
Core::DirIterator di("/res/wallpapers", Core::DirIterator::SkipDots);
if (di.has_error()) {
fprintf(stderr, "CDirIterator: %s\n", di.error_string());
fprintf(stderr, "DirIterator: %s\n", di.error_string());
return 1;
}

View file

@ -78,7 +78,7 @@ static int handle_show_all()
{
Core::DirIterator di("/proc/sys", Core::DirIterator::SkipDots);
if (di.has_error()) {
fprintf(stderr, "CDirIterator: %s\n", di.error_string());
fprintf(stderr, "DirIterator: %s\n", di.error_string());
return 1;
}

View file

@ -75,7 +75,7 @@ off_t find_seek_pos(Core::File& file, int wanted_lines)
off_t end = pos;
int lines = 0;
// FIXME: Reading char-by-char is only OK if CIODevice's read buffer
// FIXME: Reading char-by-char is only OK if IODevice's read buffer
// is smart enough to not read char-by-char. Fix it there, or fix it here :)
for (; pos >= 0; pos--) {
file.seek(pos);