Fix regex wcrtomb namespace (bug 18496).
authorJoseph Myers <joseph@codesourcery.com>
Fri, 5 Jun 2015 21:31:39 +0000 (21:31 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 5 Jun 2015 21:31:39 +0000 (21:31 +0000)
commita5f0adb39b3a029b3fcd1b0d879eb45d9bd742cd
tree72b208fb2ca945da27bdf767170a96fe4bdc1b02
parent007f2dd1228a4b21b10756c696876babb8cf86cd
Fix regex wcrtomb namespace (bug 18496).

The regex code brings in references to wcrtomb, which isn't in all the
standards that contain regex.  This patch makes it call __wcrtomb
instead (in fact some places already called __wcrtomb, so this patch
makes it internally consistent about which name is used).

Tested for x86_64 and x86 that installed stripped shared libraries are
unchanged by the patch.

[BZ #18496]
* posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
instead of wcrtomb.
ChangeLog
NEWS
posix/regex_internal.c