mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:54:58 +00:00
AK: Rename Stream::write_entire_buffer to Stream::write_until_depleted
No functional changes.
This commit is contained in:
parent
a3f73e7d85
commit
ecd1862859
46 changed files with 141 additions and 141 deletions
|
@ -57,7 +57,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
output_bytes = TRY(Compress::GzipCompressor::compress_all(input_bytes));
|
||||
|
||||
auto output_stream = write_to_stdout ? TRY(Core::File::standard_output()) : TRY(Core::File::open(output_filename, Core::File::OpenMode::Write));
|
||||
TRY(output_stream->write_entire_buffer(output_bytes));
|
||||
TRY(output_stream->write_until_depleted(output_bytes));
|
||||
|
||||
if (!keep_input_files) {
|
||||
TRY(Core::System::unlink(input_filename));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue