# VERSION.m4 -- vim: filetype=config
#
-# $Id$
+# $Id: VERSION.m4,v 28b17d1c4eab 2020/07/07 21:02:51 keith $
#
# Non-copyrightable material; adjust the following definition, to
# assign a common version number to each of the mingwrt and w32api
# as required, in accordance with libtool conventions.
#
m4_define([MINGW_AC_ENUMERATE_DLLVERSION_SPECS],dnl
-[MINGW_AC_SET_DLLVERSION([LIBMINGWEX], [libmingwex.dll.a], [3:0:1])dnl
+[MINGW_AC_SET_DLLVERSION([LIBMINGWEX], [libmingwex.dll.a], [4:0:0])dnl
])
-# $RCSfile$: end of file
+# $RCSfile: VERSION.m4,v $: end of file
+2020-07-07 Keith Marshall <keith@users.osdn.me>
+
+ Remove redundant MBCS/wide character converter aliases.
+
+ * mingwex/btowc.c (__mingw_btowc, __msvcrt_btowc):
+ * mingwex/mbrlen.c (__mingw_mbrlen, __msvcrt_mbrlen):
+ * mingwex/mbrtowc.c (__mingw_mbrtowc, __msvcrt_mbrtowc):
+ * mingwex/mbsrtowcs.c (__mingw_mbsrtowcs, __msvcrt_mbsrtowcs):
+ * mingwex/wcsrtombs.c (__mingw_wcsrtombs, __msvcrt_wcsrtombs):
+ * mingwex/wcrtomb.c (__mingw_wcrtomb, __msvcrt_wcrtomb):
+ * mingwex/wctob.c (__mingw_wctob, __msvcrt_wctob): Delete aliases.
+
+ * VERSION.m4 (MINGW_AC_SET_DLLVERSION) [LIBMINGWEX]: Increment it
+ to 4:0:0; alias removal breaks ABI backward compatibility.
+
2020-07-06 Keith Marshall <keith@users.osdn.me>
Prepare and publish MinGW.org WSL-5.3.4 release.
* as mbrtowc(), which may need to return surrogate pairs.
*
*
- * $Id$
+ * $Id: btowc.c,v 28b17d1c4eab 2020/07/07 21:02:51 keith $
*
* Written by Keith Marshall <keith@users.osdn.me>
* Copyright (C) 2020, MinGW.org Project
return WEOF;
}
-/* FIXME: these aliases are provided for link-compatibitity with
- * libraries compiled against mingwrt-5.3.x; they may be removed
- * from future versions of mingwrt.
- */
-wint_t __msvcrt_btowc( int c )__attribute__((__weak__,__alias__("btowc")));
-wint_t __mingw_btowc( int c )__attribute__((__weak__,__alias__("btowc")));
-
-/* $RCSfile$: end of file */
+/* $RCSfile: btowc.c,v $: end of file */
* for which it is provided.
*
*
- * $Id$
+ * $Id: mbrlen.c,v 28b17d1c4eab 2020/07/07 21:02:51 keith $
*
* Written by Keith Marshall <keith@users.osdn.me>
* Copyright (C) 2020, MinGW.org Project
return __mingw_mbrtowc_handler( NULL, s, n, __mbrtowc_state( ps ) );
}
-/* FIXME: these aliases are provided for link-compatibitity with
- * libraries compiled against mingwrt-5.3.x; they may be removed
- * from future versions of mingwrt.
- */
-size_t __mingw_mbrlen( const char *restrict, size_t, mbstate_t *restrict )
-__attribute__((__weak__,__alias__("mbrlen")));
-
-size_t __msvcrt_mbrlen( const char *restrict, size_t, mbstate_t *restrict )
-__attribute__((__weak__,__alias__("mbrlen")));
-
-/* $RCSfile$: end of file */
+/* $RCSfile: mbrlen.c,v $: end of file */
* those Windows versions for which it is provided.
*
*
- * $Id$
+ * $Id: mbrtowc.c,v 28b17d1c4eab 2020/07/07 21:02:51 keith $
*
* Written by Keith Marshall <keith@users.osdn.me>
* Copyright (C) 2020, MinGW.org Project
return __mingw_mbrtowc_handler( pwc, s, n, __mbrtowc_state( ps ) );
}
-/* FIXME: these aliases are provided for link-compatibitity with
- * libraries compiled against mingwrt-5.3.x; they may be removed
- * from future versions of mingwrt.
- */
-size_t __mingw_mbrtowc
-( wchar_t *restrict, const char *restrict, size_t, mbstate_t *restrict )
-__attribute__((__weak__,__alias__("mbrtowc")));
-
-size_t __msvcrt_mbrtowc
-( wchar_t *restrict, const char *restrict, size_t, mbstate_t *restrict )
-__attribute__((__weak__,__alias__("mbrtowc")));
-
-/* $RCSfile$: end of file */
+/* $RCSfile: mbrtowc.c,v $: end of file */
* for which it is provided.
*
*
- * $Id$
+ * $Id: mbsrtowcs.c,v 28b17d1c4eab 2020/07/07 21:02:51 keith $
*
* Written by Keith Marshall <keith@users.osdn.me>
* Copyright (C) 2020, MinGW.org Project
return __mbsrtowcs_internal( wcs, src, len, __mbrtowc_state( ps ) );
}
-/* FIXME: these aliases are provided for link-compatibitity with
- * libraries compiled against mingwrt-5.3.x; they may be removed
- * from future versions of mingwrt.
- */
-size_t __mingw_mbsrtowcs
-( wchar_t *restrict, const char **restrict, size_t, mbstate_t *restrict )
-__attribute__((__weak__,__alias__("mbsrtowcs")));
-
-size_t __msvcrt_mbsrtowcs
-( wchar_t *restrict, const char **restrict, size_t, mbstate_t *restrict )
-__attribute__((__weak__,__alias__("mbsrtowcs")));
-
-/* $RCSfile$: end of file */
+/* $RCSfile: mbsrtowcs.c,v $: end of file */
* where one is available.
*
*
- * $Id$
+ * $Id: wcrtomb.c,v 28b17d1c4eab 2020/07/07 21:02:51 keith $
*
* Written by Keith Marshall <keith@users.osdn.me>
* Copyright (C) 2019, 2020, MinGW.org Project
return __wcrtomb_internal( mb, wc, __mbrtowc_state( ps ) );
}
-/* FIXME: these aliases are provided for link-compatibitity with
- * libraries compiled against mingwrt-5.3.x; they may be removed
- * from future versions of mingwrt.
- */
-size_t __msvcrt_wcrtomb( char *restrict, wchar_t, mbstate_t *restrict )
-__attribute__((__weak__,__alias__("wcrtomb")));
-
-size_t __mingw_wcrtomb( char *restrict, wchar_t, mbstate_t *restrict )
-__attribute__((__weak__,__alias__("wcrtomb")));
-
-/* $RCSfile$: end of file */
+/* $RCSfile: wcrtomb.c,v $: end of file */
* provide it, and replaces the Microsoft implementation, when they do.
*
*
- * $Id$
+ * $Id: wcsrtombs.c,v 28b17d1c4eab 2020/07/07 21:02:51 keith $
*
* Written by Keith Marshall <keith@users.osdn.me>
* Copyright (C) 2019, 2020, MinGW.org Project
return __mingw_wcsrtombs_internal( mbs, wcs, len, ps );
}
-/* FIXME: these aliases are provided for link-compatibitity with
- * libraries compiled against mingwrt-5.3.x; they may be removed
- * from future versions of mingwrt.
- */
-size_t __msvcrt_wcsrtombs( char *, const wchar_t **, size_t, mbstate_t * )
-__attribute__((__weak__,__alias__("wcsrtombs")));
-
-size_t __mingw_wcsrtombs( char *, const wchar_t **, size_t, mbstate_t * )
-__attribute__((__weak__,__alias__("wcsrtombs")));
-
-/* $RCSfile$: end of file */
+/* $RCSfile: wcsrtombs.c,v $: end of file */
* MSVCRT.DLL, or MSVCRn.DLL which does.
*
*
- * $Id$
+ * $Id: wctob.c,v 28b17d1c4eab 2020/07/07 21:02:51 keith $
*
* Written by Keith Marshall <keith@users.osdn.me>
* Copyright (C) 2020, MinGW.org Project
? (int)(retval.u) : EOF;
}
-/* FIXME: these aliases are provided for link-compatibitity with
- * libraries compiled against mingwrt-5.3.x; they may be removed
- * from future versions of mingwrt.
- */
-int __msvcrt_wctob( wint_t )__attribute__((__weak__,__alias__("wctob")));
-int __mingw_wctob( wint_t )__attribute__((__weak__,__alias__("wctob")));
-
-/* $RCSfile$: end of file */
+/* $RCSfile: wctob.c,v $: end of file */