Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
840b985a
Commit
840b985a
authored
Sep 21, 2010
by
Ari Roponen
Committed by
Andreas Schwab
Sep 21, 2010
Browse files
* doc.c (Fsnarf_documentation): Use memmove instead of memcpy as
the regions may overlap.
parent
5bc88f4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/doc.c
src/doc.c
+1
-1
No files found.
src/ChangeLog
View file @
840b985a
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.
...
...
src/doc.c
View file @
840b985a
...
...
@@ -678,7 +678,7 @@ the same file name is found in the `doc-directory'. */)
}
pos
+=
end
-
buf
;
filled
-=
end
-
buf
;
mem
cpy
(
buf
,
end
,
filled
);
mem
move
(
buf
,
end
,
filled
);
}
emacs_close
(
fd
);
return
Qnil
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment