[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #35709] search.file does not allow to set no_floppy=1
From: |
КоренбергМарк |
Subject: |
[bug #35709] search.file does not allow to set no_floppy=1 |
Date: |
Sat, 03 Mar 2012 16:30:14 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7 |
URL:
<http://savannah.gnu.org/bugs/?35709>
Summary: search.file does not allow to set no_floppy=1
Project: GNU GRUB
Submitted by: socketpair
Submitted on: Сбт 03 Мар 2012 16:30:13
Category: Booting
Severity: Major
Priority: 5 - Normal
Item Group: Feature Request
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: 1.98
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
if command used directly as "search.file passwd.txt myvar hint1 hint2" and not
as "search --file ...", then no_floppy=0 is hard coded.
why not to require to set that parameter before hints, like this?
FUNC_NAME (args[0], /* key */
argc == 1 ? 0 : args[1], /* var */
argc > 2 ? args[2][0] == '1', /* no_floppy */
(args + 3), /* hints */
argc > 3 ? argc - 3 : 0 /* hints count */
);
It seems, that that bug is not only in search.file, but also in other search
commands.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35709>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #35709] search.file does not allow to set no_floppy=1,
КоренбергМарк <=