Re: add 'noError' to euc_tw_and_big5.c

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: "wangyukun@fujitsu.com" <wangyukun@fujitsu.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>, "john.naylor@enterprisedb.com" <john.naylor@enterprisedb.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2021-07-21T02:35:33Z
Lists: pgsql-hackers
On Wed, Jul 21, 2021 at 02:15:14AM +0000, wangyukun@fujitsu.com wrote:
> 'noError' argument was added at commit ea1b99a661,
> but it seems to be neglected in euc_tw_and_big5.c Line 289.
> please see the attachment.

That sounds right to me.  Double-checking the area, I am not seeing
another portion of the code to fix.
--
Michael

Commits

  1. Add missing check of noError parameter in euc_tw_and_big5.c

  2. Add 'noError' argument to encoding conversion functions.