]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
"setparams" command to update positional parameters.
authorBVK Chaitanya <bvk@dbook>
Sat, 4 Sep 2010 14:57:48 +0000 (20:27 +0530)
committerBVK Chaitanya <bvk@dbook>
Sat, 4 Sep 2010 14:57:48 +0000 (20:27 +0530)
* tests/grub_script_setparams.in: New test.
* Makefile.util.def: Rules for new test.

* grub-core/script/argv.c (grub_script_argv_make): New function.
* grub-core/script/execute.c (replace_scope): New function.
(grub_script_setparams): New function.
* grub-core/script/lexer.c: Remove unused variables.
* grub-core/script/main.c: Register/unregister setparams command.
* include/grub/script_sh.h (grub_script_argv_make): New prototype.
(grub_script_setparams): New prototype.

1  2 
ChangeLog

diff --cc ChangeLog
index 371e910c50745658f4a7d31ee123f332947e308b,44c2d178d14310ec1d3c998993ce219b54f172a2..6c31afe295f6e738d16241530dded41c51628c76
+++ b/ChangeLog
@@@ -1,8 -1,3 +1,23 @@@
++2010-09-04  BVK Chaitanya  <bvk.groups@gmail.com>
++
++      "setparams" command to update positional parameters.
++
++      * tests/grub_script_setparams.in: New test.
++      * Makefile.util.def: Rules for new test.
++
++      * grub-core/script/argv.c (grub_script_argv_make): New function.
++      * grub-core/script/execute.c (replace_scope): New function.
++      (grub_script_setparams): New function.
++      * grub-core/script/lexer.c: Remove unused variables.
++      * grub-core/script/main.c: Register/unregister setparams command.
++      * include/grub/script_sh.h (grub_script_argv_make): New prototype.
++      (grub_script_setparams): New prototype.
++
 +2010-09-04  BVK Chaitanya  <bvk.groups@gmail.com>
 +
 +      * grub-core/normal/completion.c (grub_normal_do_completion): Fix
 +      grub_free order.
 +
  2010-09-04  BVK Chaitanya  <bvk.groups@gmail.com>
  
        Support for passing block of commands as an argument to extcmds.