mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 00:29:23 +00:00
fix option handling inconsistency
This commit is contained in:
1 parent
fc6fa9d5e2
commit
f6fb25a807
5 files changed
+11
-4
No files matched your search
@@ -1,3 +1,9 @@
|
|||||||
|
1999-06-28 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
||||||
|
|
||||||
|
* grub/main.c (main): The third argument for strtoul is changed
|
||||||
|
to 0 in the case where an option is OPT_INSTALL_PARTIION.
|
||||||
|
Reported by Pavel Roskin <pavel_roskin@geocities.com>.
|
||||||
|
|
||||||
1999-06-27 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
1999-06-27 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
||||||
|
|
||||||
* stage2/shared.h (STAGE2_STAGE2_ID): New macro.
|
* stage2/shared.h (STAGE2_STAGE2_ID): New macro.
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ New:
|
|||||||
* Color menu support.
|
* Color menu support.
|
||||||
* New command "quit".
|
* New command "quit".
|
||||||
* The man page for /sbin/grub.
|
* The man page for /sbin/grub.
|
||||||
|
* All documents become Texinfo.
|
||||||
|
|
||||||
New in 0.5.91 - 1999-03-14, Gordon Matzigkeit:
|
New in 0.5.91 - 1999-03-14, Gordon Matzigkeit:
|
||||||
* LBA and preliminary AWARD BIOS disk extension support.
|
* LBA and preliminary AWARD BIOS disk extension support.
|
||||||
|
|||||||
@@ -49,8 +49,8 @@ http://sourceware.cygnus.com/automake for more information.
|
|||||||
|
|
||||||
|
|
||||||
See the file INSTALL for instructions on how to build and install the
|
See the file INSTALL for instructions on how to build and install the
|
||||||
GRUB data and program files. See `docs/install.html' for details
|
GRUB data and program files. See the GRUB manual for details about
|
||||||
about using GRUB as your bootloader.
|
using GRUB as your bootloader.
|
||||||
|
|
||||||
If you have any suggestions or bug reports, please send electronic
|
If you have any suggestions or bug reports, please send electronic
|
||||||
mail to the GRUB mailing list <bug-grub@gnu.org>.
|
mail to the GRUB mailing list <bug-grub@gnu.org>.
|
||||||
|
|||||||
+1
-1
@@ -1226,7 +1226,7 @@ an integer (decimal, octal or hexadecimal).
|
|||||||
|
|
||||||
@item --install-partition=@var{par}
|
@item --install-partition=@var{par}
|
||||||
Set the stage2 @var{install_partition} to @var{par}. This argument
|
Set the stage2 @var{install_partition} to @var{par}. This argument
|
||||||
should be an hexadecimal number.
|
should be an integer (decimal, octal or hexadecimal).
|
||||||
|
|
||||||
@item --no-config-file
|
@item --no-config-file
|
||||||
Do not use the configuration file even if it can be read.
|
Do not use the configuration file even if it can be read.
|
||||||
|
|||||||
+1
-1
@@ -150,7 +150,7 @@ main (int argc, char **argv)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case OPT_INSTALL_PARTITION:
|
case OPT_INSTALL_PARTITION:
|
||||||
install_partition = strtoul (optarg, 0, 16);
|
install_partition = strtoul (optarg, 0, 0);
|
||||||
if (install_partition == ULONG_MAX)
|
if (install_partition == ULONG_MAX)
|
||||||
{
|
{
|
||||||
perror ("strtoul");
|
perror ("strtoul");
|
||||||
|
|||||||
Reference in new issue
Block a user