Avoid mempcpy in the regex code, as the string.h mempcpy stuff
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 2 Feb 2007 22:15:43 +0000 (22:15 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 2 Feb 2007 22:15:43 +0000 (22:15 +0000)
commitf7328f9d0aed9f61e4f38b731ac9fa88a3c55622
tree921592c897d5c3576ba2377b563a363f777eb48a
parent81358c51b53c0a6f702aaa22178540811ad995aa
Avoid mempcpy in the regex code, as the string.h mempcpy stuff
is causing more trouble than it's curing.
* lib/regex_internal.h (__mempcpy): Remove.
* lib/regcomp.c (regerror): Rewrite to avoid the need for mempcpy
(and make the code a tad smaller to boot).
* m4/regex.m4 (gl_PREREQ_REGEX): Don't check for mempcpy.
ChangeLog
lib/regcomp.c
lib/regex_internal.h
m4/regex.m4