Commit b3c9dc1a by Richard Henderson Committed by Richard Henderson

* system.h (bcopy): Implement with memmove not memcpy.

From-SVN: r24727
parent ef2b940d
...@@ -2,6 +2,8 @@ Sun Jan 17 21:04:31 1999 Richard Henderson <rth@cygnus.com> ...@@ -2,6 +2,8 @@ Sun Jan 17 21:04:31 1999 Richard Henderson <rth@cygnus.com>
* jump.c (rtx_renumbered_equal_p): Special case CODE_LABEL. * jump.c (rtx_renumbered_equal_p): Special case CODE_LABEL.
* system.h (bcopy): Implement with memmove not memcpy.
Sun Jan 17 19:23:20 1999 Jeffrey A Law (law@cygnus.com) Sun Jan 17 19:23:20 1999 Jeffrey A Law (law@cygnus.com)
* Makefile.in (cppulp.o): Add dependencies. * Makefile.in (cppulp.o): Add dependencies.
......
...@@ -220,7 +220,7 @@ extern int errno; ...@@ -220,7 +220,7 @@ extern int errno;
extern void bcopy (); extern void bcopy ();
# endif # endif
# else /* ! HAVE_BCOPY */ # else /* ! HAVE_BCOPY */
# define bcopy(src,dst,len) memcpy ((dst),(src),(len)) # define bcopy(src,dst,len) memmove((dst),(src),(len))
# endif # endif
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment