fix a bug in find_func, and fix an inconsistency between NEWS and INSTALL.

This commit is contained in:
okuji 2000-10-07 18:09:42 +00:00
parent 324e93a919
commit 261bf12dcf
3 changed files with 13 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2000-10-08 OKUJI Yoshinori <okuji@gnu.org>
* stage2/builtins.c (find_func): Clear ERRNUM after the last
call of next_partition, because it always sets ERRNUM. Reported
by Thierry Laronde <thierry.laronde@polynum.com>.
2000-10-07 OKUJI Yoshinori <okuji@gnu.org>
* lib/device.c [__linux__] (write_to_partition): Open DEV with

4
NEWS
View file

@ -21,8 +21,8 @@ New in 0.5.96 - 2000-10-04:
fixed. So now the image `nbgrub' can work fine even with a card such
as rtl8139.
* Serial terminal support is added. The configure script accepts
a new option `--enable-serial'. If it is specified, you can use two
new commands, "serial" and "terminal" in the command-line and the
a new option `--disable-serial'. Unless it is specified, you can use
two new commands, "serial" and "terminal" in the command-line and the
menu. See the manual, for more details.
* Preserve the possible magic number used by Windows NT in a MBR.
* The command-line interface is switched to single-line editing mode.

View file

@ -1092,8 +1092,13 @@ find_func (char *arg, int flags)
}
}
/* We want to ignore any error here. */
errnum = ERR_NONE;
}
/* next_partition always sets ERRNUM in the last call, so clear
it. */
errnum = ERR_NONE;
}
saved_drive = tmp_drive;