* standalone.c (open, _initialize_standalone): Fix obvious typos

reported by Martin Pool <martin@citr.uq.oz.au>.
This commit is contained in:
Fred Fish 1996-02-22 01:58:53 +00:00
parent d16ee16d58
commit 6a6a552a29
2 changed files with 7 additions and 5 deletions

View File

@ -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.

View File

@ -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;