diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-07-01 13:44:15 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-07-01 13:44:15 +0000 |
commit | be7181525a93d0b7499364115803130a18c1939d (patch) | |
tree | 223cad58108f466ee075c7aed65a88691f03d1f0 /Build/source/texk/xdvik/font-open.c | |
parent | 3d887290087ac01c8dddf9422088e5e2a26798da (diff) |
Eliminate use of BSD string functions (bcopy etc)
git-svn-id: svn://tug.org/texlive/trunk@31058 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik/font-open.c')
-rw-r--r-- | Build/source/texk/xdvik/font-open.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/xdvik/font-open.c b/Build/source/texk/xdvik/font-open.c index d0a3cef062f..61ef08d9c12 100644 --- a/Build/source/texk/xdvik/font-open.c +++ b/Build/source/texk/xdvik/font-open.c @@ -971,7 +971,7 @@ get_gs_token(struct gsfile *gsfp, unsigned int len = gsfp->bufpos - p0; if (pos + len >= ffline_len) expandline(pos + len); - bcopy(p0, ffline + pos, len); + memmove(ffline + pos, p0, len); pos += len; if (!gs_fillbuf(gsfp)) break; @@ -981,7 +981,7 @@ get_gs_token(struct gsfile *gsfp, unsigned int len = gsfp->bufpos - p0; if (pos + len >= ffline_len) expandline(pos + len); - bcopy(p0, ffline + pos, len); + memmove(ffline + pos, p0, len); pos += len; break; } @@ -1001,7 +1001,7 @@ get_gs_token(struct gsfile *gsfp, unsigned int len = gsfp->bufpos - p0; if (pos + len >= ffline_len) expandline(pos + len); - bcopy(p0, ffline + pos, len); + memmove(ffline + pos, p0, len); pos += len; if (!gs_fillbuf(gsfp)) { TRACE_FT((stderr, @@ -1041,7 +1041,7 @@ get_gs_token(struct gsfile *gsfp, if (pos + len >= ffline_len) expandline(pos + len); - bcopy(p0, ffline + pos, len); + memmove(ffline + pos, p0, len); pos += len; gsfp->bufpos = p1 + 1; break; |