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:
parent
4a271430f8
commit
57f1c919df
17 changed files with 42 additions and 34 deletions
|
@ -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()) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue