From cfdbd7af37e56f6f01d50069d8668b111a72fce8 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 4 May 2022 22:08:12 -0500 Subject: [PATCH] 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); --- level_3/iki_read/c/iki_read.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 1.8.3.1