diff options
Diffstat (limited to 'wcsmbs')
-rw-r--r-- | wcsmbs/btowc.c | 2 | ||||
-rw-r--r-- | wcsmbs/mbrtowc.c | 2 | ||||
-rw-r--r-- | wcsmbs/mbsnrtowcs.c | 2 | ||||
-rw-r--r-- | wcsmbs/mbsrtowcs.c | 2 | ||||
-rw-r--r-- | wcsmbs/wcrtomb.c | 2 | ||||
-rw-r--r-- | wcsmbs/wcsnrtombs.c | 2 | ||||
-rw-r--r-- | wcsmbs/wcsrtombs.c | 2 | ||||
-rw-r--r-- | wcsmbs/wctob.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/wcsmbs/btowc.c b/wcsmbs/btowc.c index e0e4ceb139..0978f097f1 100644 --- a/wcsmbs/btowc.c +++ b/wcsmbs/btowc.c @@ -46,7 +46,7 @@ __btowc (c) data.__outbufend = data.__outbuf + sizeof (wchar_t); data.__invocation_counter = 0; data.__internal_use = 1; - data.__is_last = 1; + data.__flags = __GCONV_IS_LAST; data.__statep = &data.__state; /* Make sure we start in the initial state. */ diff --git a/wcsmbs/mbrtowc.c b/wcsmbs/mbrtowc.c index 212b001422..6ecbdc5b5c 100644 --- a/wcsmbs/mbrtowc.c +++ b/wcsmbs/mbrtowc.c @@ -46,7 +46,7 @@ __mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps) /* Set information for this step. */ data.__invocation_counter = 0; data.__internal_use = 1; - data.__is_last = 1; + data.__flags = __GCONV_IS_LAST; data.__statep = ps ?: &state; /* A first special case is if S is NULL. This means put PS in the diff --git a/wcsmbs/mbsnrtowcs.c b/wcsmbs/mbsnrtowcs.c index 42b5879f38..540afd0800 100644 --- a/wcsmbs/mbsnrtowcs.c +++ b/wcsmbs/mbsnrtowcs.c @@ -54,7 +54,7 @@ __mbsnrtowcs (dst, src, nmc, len, ps) /* Tell where we want the result. */ data.__invocation_counter = 0; data.__internal_use = 1; - data.__is_last = 1; + data.__flags = __GCONV_IS_LAST; data.__statep = ps ?: &state; if (nmc == 0) diff --git a/wcsmbs/mbsrtowcs.c b/wcsmbs/mbsrtowcs.c index facec0826b..aaafe3bf1e 100644 --- a/wcsmbs/mbsrtowcs.c +++ b/wcsmbs/mbsrtowcs.c @@ -50,7 +50,7 @@ __mbsrtowcs (dst, src, len, ps) /* Tell where we want the result. */ data.__invocation_counter = 0; data.__internal_use = 1; - data.__is_last = 1; + data.__flags = __GCONV_IS_LAST; data.__statep = ps ?: &state; /* Make sure we use the correct function. */ diff --git a/wcsmbs/wcrtomb.c b/wcsmbs/wcrtomb.c index 7aef505ef3..5af383178c 100644 --- a/wcsmbs/wcrtomb.c +++ b/wcsmbs/wcrtomb.c @@ -46,7 +46,7 @@ __wcrtomb (char *s, wchar_t wc, mbstate_t *ps) /* Set information for this step. */ data.__invocation_counter = 0; data.__internal_use = 1; - data.__is_last = 1; + data.__flags = __GCONV_IS_LAST; data.__statep = ps ?: &state; /* A first special case is if S is NULL. This means put PS in the diff --git a/wcsmbs/wcsnrtombs.c b/wcsmbs/wcsnrtombs.c index 50c33ec285..7005bdcf12 100644 --- a/wcsmbs/wcsnrtombs.c +++ b/wcsmbs/wcsnrtombs.c @@ -52,7 +52,7 @@ __wcsnrtombs (dst, src, nwc, len, ps) /* Tell where we want the result. */ data.__invocation_counter = 0; data.__internal_use = 1; - data.__is_last = 1; + data.__flags = __GCONV_IS_LAST; data.__statep = ps ?: &state; if (nwc == 0) diff --git a/wcsmbs/wcsrtombs.c b/wcsmbs/wcsrtombs.c index 28af214f18..875ef16f75 100644 --- a/wcsmbs/wcsrtombs.c +++ b/wcsmbs/wcsrtombs.c @@ -48,7 +48,7 @@ __wcsrtombs (dst, src, len, ps) /* Tell where we want the result. */ data.__invocation_counter = 0; data.__internal_use = 1; - data.__is_last = 1; + data.__flags = __GCONV_IS_LAST; data.__statep = ps ?: &state; /* Make sure we use the correct function. */ diff --git a/wcsmbs/wctob.c b/wcsmbs/wctob.c index 7e4c04f161..8c6372558e 100644 --- a/wcsmbs/wctob.c +++ b/wcsmbs/wctob.c @@ -40,7 +40,7 @@ wctob (c) data.__outbufend = buf + MB_LEN_MAX; data.__invocation_counter = 0; data.__internal_use = 1; - data.__is_last = 1; + data.__flags = __GCONV_IS_LAST; data.__statep = &data.__state; /* Make sure we start in the initial state. */ |