i18n.c: added EOPNOTSUPP error code for MacOS
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sat, 4 Nov 2023 22:28:40 +0000 (23:28 +0100)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sat, 4 Nov 2023 22:28:40 +0000 (23:28 +0100)
commit1799abc8539bd1a49c72c5723d1fa89ff4463e3f
tree458fb517bb16683d8a4eeb46c8f9d2a90c1c243e
parentbcc19d9457129559b836a0cc6cd81e2c71d42bb5
i18n.c: added EOPNOTSUPP error code for MacOS

With MacOS 14 the iconv library was changed by Apple. pspp uses
the native iconv library. There is a different error code
returned when an illegal 0xc0 UTF-8 code is converted. This
results in a failed "convert invalid UTF-8 to ISO-8859-1" test in
the regression. This patch now handles also EOPNOTSUPP.
src/libpspp/i18n.c