aboutsummaryrefslogtreecommitdiff
path: root/libiberty/regex.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2003-04-15 15:27:20 +0000
committerDJ Delorie <dj@redhat.com>2003-04-15 15:27:20 +0000
commit258a4893ffa392438c6fb0eec5c6d42f704dfc28 (patch)
treea700fc415293e1777b7f91d936e137fbc7273906 /libiberty/regex.c
parent37adfc7e9fc6982772fc6e6093aad43d0020ad30 (diff)
downloadgdb-258a4893ffa392438c6fb0eec5c6d42f704dfc28.zip
gdb-258a4893ffa392438c6fb0eec5c6d42f704dfc28.tar.gz
gdb-258a4893ffa392438c6fb0eec5c6d42f704dfc28.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/regex.c')
-rw-r--r--libiberty/regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/regex.c b/libiberty/regex.c
index f9d9a4e..e3439b2 100644
--- a/libiberty/regex.c
+++ b/libiberty/regex.c
@@ -8200,7 +8200,7 @@ regerror (errcode, preg, errbuf, errbuf_size)
if (msg_size > errbuf_size)
{
#if defined HAVE_MEMPCPY || defined _LIBC
- *((char *) __mempcpy (errbuf, msg, errbuf_size - 1)) = '\0';
+ *((char *) mempcpy (errbuf, msg, errbuf_size - 1)) = '\0';
#else
memcpy (errbuf, msg, errbuf_size - 1);
errbuf[errbuf_size - 1] = 0;