mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-14 15:50:34 +00:00
* read.c (read_a_source_file): Use correct arguments to memcpy
(broken 19 Jul 1993). From kjd@pescadero.stanford.edu (Kenneth Duda).
This commit is contained in:
parent
fdf08b0fff
commit
9eb5f4b8c6
@ -1,3 +1,9 @@
|
||||
Mon Feb 21 11:41:18 1994 Ian Lance Taylor (ian@cygnus.com)
|
||||
|
||||
* read.c (read_a_source_file): Use correct arguments to memcpy
|
||||
(broken 19 Jul 1993). From kjd@pescadero.stanford.edu (Kenneth
|
||||
Duda).
|
||||
|
||||
Sun Feb 20 18:01:54 1994 Ian Lance Taylor (ian@lisa.cygnus.com)
|
||||
|
||||
* config/obj-coff.h (obj_coff_section): Declare.
|
||||
|
@ -633,7 +633,7 @@ read_a_source_file (name)
|
||||
num = buffer_limit - buffer;
|
||||
|
||||
tmp_buf = xrealloc (tmp_buf, tmp_len + num);
|
||||
memcpy (tmp_buf, buffer + tmp_len, num);
|
||||
memcpy (tmp_buf + tmp_len, buffer, num);
|
||||
tmp_len += num;
|
||||
}
|
||||
while (!ends);
|
||||
|
Loading…
Reference in New Issue
Block a user