diff options
Diffstat (limited to 'src/doc.c')
| -rw-r--r-- | src/doc.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -678,7 +678,7 @@ the same file name is found in the `doc-directory'. */) | |||
| 678 | } | 678 | } |
| 679 | pos += end - buf; | 679 | pos += end - buf; |
| 680 | filled -= end - buf; | 680 | filled -= end - buf; |
| 681 | memcpy (buf, end, filled); | 681 | memmove (buf, end, filled); |
| 682 | } | 682 | } |
| 683 | emacs_close (fd); | 683 | emacs_close (fd); |
| 684 | return Qnil; | 684 | return Qnil; |