diff options
author | Karl Williamson <khw@cpan.org> | 2020-02-12 15:02:46 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-02-12 15:10:42 -0700 |
commit | 666eb2cc60ebe0534a22dc16015848b0a98413ec (patch) | |
tree | 2f295f50044c44b8a32157dac184643944b23109 /ext/POSIX/POSIX.xs | |
parent | 96d019622c8664693f6966a219cfdfd9c81ac025 (diff) | |
download | perl-666eb2cc60ebe0534a22dc16015848b0a98413ec.tar.gz |
Remove claimed support for mbstowcs, wcstombc
As noted in perldelta, these functions could not have ever worked, and
there is no demand for them, hence no reason to make them work.
This fixes GH #17388
Diffstat (limited to 'ext/POSIX/POSIX.xs')
-rw-r--r-- | ext/POSIX/POSIX.xs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index 03342c3ea4..c8d6e8e3f9 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -1547,15 +1547,9 @@ END_EXTERN_C #define mblen(a,b) not_here("mblen") #endif #endif -#ifndef HAS_MBSTOWCS -#define mbstowcs(s, pwcs, n) not_here("mbstowcs") -#endif #ifndef HAS_MBTOWC #define mbtowc(pwc, s, n) not_here("mbtowc") #endif -#ifndef HAS_WCSTOMBS -#define wcstombs(s, pwcs, n) not_here("wcstombs") -#endif #ifndef HAS_WCTOMB #define wctomb(s, wchar) not_here("wctomb") #endif @@ -3375,12 +3369,6 @@ mblen(s, n) OUTPUT: RETVAL -size_t -mbstowcs(s, pwcs, n) - wchar_t * s - char * pwcs - size_t n - int mbtowc(pwc, s, n) wchar_t * pwc @@ -3403,12 +3391,6 @@ mbtowc(pwc, s, n) RETVAL int -wcstombs(s, pwcs, n) - char * s - wchar_t * pwcs - size_t n - -int wctomb(s, wchar) char * s wchar_t wchar |