From 6c5ef267f2ecc0da84dee2829a1c46b100076329 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Thu, 15 Jun 2023 21:39:55 -0500 Subject: [PATCH] Bugfix: FSS Extended List Read program should print new line after Object. In the case where Object is printed but not Content a new line must be printed. This is done to be consistent with the other programs, such as FSS Basic List Read. The 0.7.x and later versions should probably implement something like -L/--line_end to perform this behavior. In which case the default behavior would be what the code was doing here prior to this commit. --- level_3/fss_extended_list_read/c/private-read.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/level_3/fss_extended_list_read/c/private-read.c b/level_3/fss_extended_list_read/c/private-read.c index 9342805..417355f 100644 --- a/level_3/fss_extended_list_read/c/private-read.c +++ b/level_3/fss_extended_list_read/c/private-read.c @@ -482,6 +482,10 @@ extern "C" { } else { fss_extended_list_read_print_at_object(main, data, at, delimits_object); + + if (!(data->option & fss_extended_list_read_data_option_content_d)) { + f_print_dynamic_raw(f_fss_eol_s, main->output.to.stream); + } } funlockfile(main->output.to.stream); -- 1.8.3.1