Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

cosmetics, remove mempcpy() GNUism

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
  • Loading branch information...
commit 719397c027801b21dce041656c0c124ac8e4726e 1 parent 08abe97
Sebastian Freundt authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  src/tzraw.c
3  src/tzraw.c
@@ -76,7 +76,8 @@ __open_zif(const char *file)
76 76 char *new, *tmp;
77 77
78 78 new = alloca(tzd_len + 1 + len);
79   - tmp = mempcpy(new, tzdir, tzd_len);
  79 + memcpy(new, tzdir, tzd_len);
  80 + tmp = new + tzd_len;
80 81 *tmp++ = '/';
81 82 memcpy(tmp, file, len);
82 83 file = new;

0 comments on commit 719397c

Please sign in to comment.
Something went wrong with that request. Please try again.