From: Kevin Day Date: Thu, 5 May 2022 03:08:12 +0000 (-0500) Subject: Regression: The iki_read is not processing anything. X-Git-Tag: 0.5.10~173 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=cfdbd7af37e56f6f01d50069d8668b111a72fce8;p=fll Regression: The iki_read is not processing anything. This is a mistake in the commit b1dddea0ecf4aecfe0c7965b1b40b2432ce47b8a. The size_file variable was created but file.size_read was not replaced in the call: status = f_file_size_by_id(file.id, &file.size_read); --- diff --git a/level_3/iki_read/c/iki_read.c b/level_3/iki_read/c/iki_read.c index 3c1a5f2..e29070d 100644 --- a/level_3/iki_read/c/iki_read.c +++ b/level_3/iki_read/c/iki_read.c @@ -396,7 +396,7 @@ extern "C" { size_file = 0; - status = f_file_size_by_id(file.id, &file.size_read); + status = f_file_size_by_id(file.id, &size_file); if (F_status_is_error(status)) { fll_error_file_print(main->error, F_status_set_fine(status), "f_file_size_by_id", F_true, data.argv[main->parameters.remaining.array[i]], f_file_operation_process_s, fll_error_file_type_file_e); @@ -407,7 +407,7 @@ extern "C" { } // Skip past empty files. - if (!file.size_read) { + if (!size_file) { f_file_stream_close(F_true, &file); continue;