Commit 840b985a authored by Ari Roponen's avatar Ari Roponen Committed by Andreas Schwab
Browse files

* doc.c (Fsnarf_documentation): Use memmove instead of memcpy as

the regions may overlap.
parent 5bc88f4b
2010-09-21 Ari Roponen <ari.roponen@gmail.com> (tiny change)
* doc.c (Fsnarf_documentation): Use memmove instead of memcpy as
the regions may overlap.
2010-09-21 Juanma Barranquero <lekktu@gmail.com>
 
* makefile.w32-in ($(BLD)/sysdep.$(O)): Update dependencies.
......
......@@ -678,7 +678,7 @@ the same file name is found in the `doc-directory'. */)
}
pos += end - buf;
filled -= end - buf;
memcpy (buf, end, filled);
memmove (buf, end, filled);
}
emacs_close (fd);
return Qnil;
......
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