Permalink
Browse files

cosmetics, remove mempcpy() GNUism

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
  • Loading branch information...
1 parent 08abe97 commit 719397c027801b21dce041656c0c124ac8e4726e @hroptatyr committed Mar 23, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/tzraw.c
View
3 src/tzraw.c
@@ -76,7 +76,8 @@ __open_zif(const char *file)
char *new, *tmp;
new = alloca(tzd_len + 1 + len);
- tmp = mempcpy(new, tzdir, tzd_len);
+ memcpy(new, tzdir, tzd_len);
+ tmp = new + tzd_len;
*tmp++ = '/';
memcpy(tmp, file, len);
file = new;

0 comments on commit 719397c

Please sign in to comment.