From 62953189cdcf6d2ddd402919c78c829070c602d0 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 14 Oct 2020 23:29:21 -0500 Subject: [PATCH] Bugfix: trimming in FSS extended write does not always work. A boolean is used to designate when the Object has no space at the end. If this boolean is FALSE, then a space is added before the '{'. The problem is that the addition of this space happens after trimming. If trimming is performed, just lie and set the boolean to TRUE to prevent the addition of an (unwanted) space. --- level_1/fl_fss/c/fss_extended_list.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/level_1/fl_fss/c/fss_extended_list.c b/level_1/fl_fss/c/fss_extended_list.c index a2d0798..b091d9a 100644 --- a/level_1/fl_fss/c/fss_extended_list.c +++ b/level_1/fl_fss/c/fss_extended_list.c @@ -963,6 +963,9 @@ extern "C" { destination->used = used_start; return status; } + + // prevent a space from being added post-trimming. + ends_on_space = F_true; } status = private_fl_fss_destination_increase_by(3, destination); -- 1.8.3.1