From: Reuben Thomas Date: Thu, 25 Jan 2018 14:28:54 +0000 (+0000) Subject: request.c: remove a FIXME X-Git-Tag: v3.7~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a6b0a1f961d2ef48f11e7e825f37bafcad7173f;p=recode request.c: remove a FIXME 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. --- 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)