* breakpoint.c (update_watchpoint): Do not attempt to recreate
[deliverable/binutils-gdb.git] / gas / input-scrub.c
index a2cd31b3f6e4114dd54a8f533109fc5a9fe10d44..e1ff5cc0a505d48840692c326811709ce19938b4 100644 (file)
@@ -343,8 +343,8 @@ input_scrub_next_buffer (char **bufp)
 
   if (partial_size)
     {
-      memcpy (buffer_start + BEFORE_SIZE, partial_where,
-             (unsigned int) partial_size);
+      memmove (buffer_start + BEFORE_SIZE, partial_where,
+              (unsigned int) partial_size);
       memcpy (buffer_start + BEFORE_SIZE, save_source, AFTER_SIZE);
     }
   limit = input_file_give_next_buffer (buffer_start
This page took 0.023816 seconds and 4 git commands to generate.