bugGNU GRUB - Bugs: bug #35709, search.file does not allow to set...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #35709: search.file does not allow to set no_floppy=1

Submitter:  Коренберг Марк <socketpair>
Submitted:  Sat 03 Mar 2012 04:30:13 PM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Feature Request
Status:  Wont Fix Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  1.98
Release:  Reproducibility:  Every Time
Planned Release:  None

Sat 03 Mar 2012 04:44:01 PM UTC, comment #1: 

search.file isn't for end-user but only for internal scripts. USe "search"

Vladimir Serbinenko <phcoder>
Group administrator
Sat 03 Mar 2012 04:30:13 PM UTC, original submission:  

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.

Коренберг Марк <socketpair>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by socketpair (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-03-03 phcoder StatusNone Wont Fix
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code