CVSROOT: /sources/grub
Module name: grub2
Changes by: Marco Gerards <marco_g> 06/12/12 00:13:56
Modified files:
. : ChangeLog
include/grub : err.h
kern : env.c
normal : main.c
util/i386/pc : biosdisk.c
Log message:
2006-12-12 Marco Gerards <marco@xxxxxxx>
* include/grub/err.h (grub_err_t): Add `GRUB_ERR_MENU'.
* kern/env.c (grub_env_unset): Don't free the member `value'
when
the type is GRUB_ENV_VAR_DATA, in this case it's a user defined
pointer.
* normal/main.c (current_menu): Removed.
(free_menu): Unset the `menu' environment variable.
(grub_normal_menu_addentry): Make use of the environment
variable
`menu', instead of using the global `current_menu'. Allocate
memory for the sourcecode of this entry.
(read_config_file): New argument `nested', changed all callers.
Only in the case of a new context, initialize a new menu. Set
the
`menu' environment variable.
(grub_normal_execute): Don't set and unset the environment
variable `menu' here anymore. Only free the menu when leaving
the
context.
* util/i386/pc/biosdisk.c (linux_find_partition): Fixed a memory
leak.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/grub2/ChangeLog?cvsroot=grub&r1=1.331&r2=1.332
http://cvs.savannah.gnu.org/viewcvs/grub2/include/grub/err.h?cvsroot=grub&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/grub2/kern/env.c?cvsroot=grub&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/grub2/normal/main.c?cvsroot=grub&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/grub2/util/i386/pc/biosdisk.c?cvsroot=grub&r1=1.13&r2=1.14
|