compat: add mempcpy()
authorJonathan Nieder <redacted>
Sun, 21 Mar 2010 00:43:32 +0000 (19:43 -0500)
committerJunio C Hamano <redacted>
Sun, 21 Mar 2010 03:36:11 +0000 (20:36 -0700)
commit137c6eaa885a421346f0a5abbc3cc4903671fbeb
tree1f7fef06be4c675243e49fbea8a65e7f5960eea2
parentc4151629e7019d072cefdac992e164820ce9ed1c
compat: add mempcpy()

The mempcpy() function was added in glibc 2.1.  It is quite handy, so
add an implementation for cross-platform use.

Signed-off-by: Jonathan Nieder <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-compat-util.h
git clone https://git.99rst.org/PROJECT