* regex.c (regerror): Never use the __memcpy function, as it
breaks the build on Cygwin.
Этот коммит содержится в:
родитель
849d95373b
Коммит
fa72520d74
@ -1,3 +1,8 @@
|
||||
2004-10-23 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* regex.c (regerror): Never use the __memcpy function, as it
|
||||
breaks the build on Cygwin.
|
||||
|
||||
2004-10-22 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* regex.c: Fix the C preprocessor feature tests. They produced
|
||||
|
@ -8243,7 +8243,7 @@ regerror (errcode, preg, errbuf, errbuf_size)
|
||||
{
|
||||
if (msg_size > errbuf_size)
|
||||
{
|
||||
#if defined HAVE_MEMPCPY || defined _LIBC
|
||||
#if 0 && (defined HAVE_MEMPCPY || defined _LIBC)
|
||||
*((char *) __mempcpy (errbuf, msg, errbuf_size - 1)) = '\0';
|
||||
#else
|
||||
memcpy (errbuf, msg, errbuf_size - 1);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user