mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 14:30:48 +00:00
* standalone.c (open, _initialize_standalone): Fix obvious typos
reported by Martin Pool <martin@citr.uq.oz.au>.
This commit is contained in:
parent
d16ee16d58
commit
6a6a552a29
@ -1,3 +1,8 @@
|
||||
Wed Feb 21 19:00:21 1996 Fred Fish <fnf@ninemoons.com>
|
||||
|
||||
* standalone.c (open, _initialize_standalone): Fix obvious typos
|
||||
reported by Martin Pool <martin@citr.uq.oz.au>.
|
||||
|
||||
Wed Feb 21 14:24:04 1996 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* solib.c (solib_create_inferior_hook): Fix thinko.
|
||||
|
@ -141,8 +141,7 @@ open (filename, modes)
|
||||
return -1;
|
||||
}
|
||||
|
||||
for (next - files_start; * (int *) next;
|
||||
next += * (int *) next)
|
||||
for (next = files_start; * (int *) next; next += * (int *) next)
|
||||
{
|
||||
if (!STRCMP (next + 4, filename))
|
||||
{
|
||||
@ -584,9 +583,7 @@ _initialize_standalone ()
|
||||
|
||||
/* Find the end of the data on files. */
|
||||
|
||||
for (next - files_start; * (int *) next;
|
||||
next += * (int *) next)
|
||||
{}
|
||||
for (next = files_start; * (int *) next; next += * (int *) next) {}
|
||||
|
||||
/* That is where free storage starts for sbrk to give out. */
|
||||
next_free = next;
|
||||
|
Loading…
Reference in New Issue
Block a user