From: Kevin Day Date: Fri, 16 Jun 2023 02:39:55 +0000 (-0500) Subject: Bugfix: FSS Extended List Read program should print new line after Object. X-Git-Tag: 0.6.6~22 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=6c5ef267f2ecc0da84dee2829a1c46b100076329;p=fll 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. --- 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);