aboutsummaryrefslogtreecommitdiff
path: root/iconvdata/cp1258.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/cp1258.c')
-rw-r--r--iconvdata/cp1258.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/iconvdata/cp1258.c b/iconvdata/cp1258.c
index af206a2..853ef63 100644
--- a/iconvdata/cp1258.c
+++ b/iconvdata/cp1258.c
@@ -379,15 +379,7 @@ static const struct
if (__builtin_expect (ch == L'\0', 0)) \
{ \
/* This is an illegal character. */ \
- if (! ignore_errors_p ()) \
- { \
- result = __GCONV_ILLEGAL_INPUT; \
- break; \
- } \
- \
- ++inptr; \
- ++*irreversible; \
- continue; \
+ STANDARD_FROM_LOOP_ERR_HANDLER (1); \
} \
} \
\
@@ -853,7 +845,7 @@ static const struct
\
failed: \
/* This is an illegal character. */ \
- STANDARD_ERR_HANDLER (4); \
+ STANDARD_TO_LOOP_ERR_HANDLER (4); \
} \
} \
}