From 3a6b0a1f961d2ef48f11e7e825f37bafcad7173f Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Thu, 25 Jan 2018 14:28:54 +0000 Subject: [PATCH] request.c: remove a FIXME MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit We don’t need to worry about always ensuring 4 NULs at the end of a buffer when we might only need 1 or 2. --- src/request.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/request.c b/src/request.c index 13676d2..922974d 100644 --- a/src/request.c +++ b/src/request.c @@ -1053,8 +1053,7 @@ decode_request (RECODE_REQUEST request, const char *string) `--------------------------*/ /* Guarantee four NULs at the end of the output memory buffer for TASK, yet - not counting them as data. The number of NULs should depend on the goal - charset: often one, but two for UCS-2 and four for UCS-4. FIXME! */ + not counting them as data. (Four is the maximum, needed for UCS-4.) */ static void guarantee_nul_terminator (RECODE_TASK task) -- 2.50.0