grub/kern
marco_g a8aa57628e 2006-12-12 Marco Gerards <marco@gnu.org>
* 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.
2006-12-12 00:13:55 +00:00
..
efi 2006-07-30 Johan Rydberg <jrydberg@gnu.org> 2006-07-30 12:20:48 +00:00
i386 2006-10-14 Yoshinori K. Okuji <okuji@enbug.org> 2006-10-14 15:24:53 +00:00
ieee1275 2006-11-02 Hollis Blanchard <hollis@penguinppc.org> 2006-11-02 16:30:17 +00:00
powerpc 2006-12-08 Hollis Blanchard <hollis@penguinppc.org> 2006-12-08 21:16:47 +00:00
sparc64 2006-04-25 Yoshinori K. Okuji <okuji@enbug.org> 2006-04-25 20:08:31 +00:00
device.c 2005-08-20 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-20 07:49:02 +00:00
disk.c 2006-11-11 Jeroen Dekkers <jeroen@dekkers.cx> 2006-11-10 23:31:55 +00:00
dl.c 2006-05-29 Yoshinori K. Okuji <okuji@enbug.org> 2006-05-28 23:01:43 +00:00
elf.c 2006-11-09 Jeroen Dekkers <jeroen@dekkers.cx> 2006-11-09 19:39:51 +00:00
env.c 2006-12-12 Marco Gerards <marco@gnu.org> 2006-12-12 00:13:55 +00:00
err.c 2006-04-23 Yoshinori K. Okuji <okuji@enbug.org> 2006-04-23 13:37:36 +00:00
file.c 2006-06-04 Yoshinori K. Okuji <okuji@enbug.org> 2006-06-04 15:56:55 +00:00
fs.c 2006-10-27 Hollis Blanchard <hollis@penguinppc.org> 2006-10-27 18:14:00 +00:00
loader.c 2006-04-30 Yoshinori K. Okuji <okuji@enbug.org> 2006-04-30 21:09:37 +00:00
main.c 2006-04-25 Yoshinori K. Okuji <okuji@enbug.org> 2006-04-25 20:08:31 +00:00
misc.c 2006-10-14 Yoshinori K. Okuji <okuji@enbug.org> 2006-10-14 15:24:53 +00:00
mm.c 2006-04-25 Yoshinori K. Okuji <okuji@enbug.org> 2006-04-25 20:08:31 +00:00
parser.c 2005-11-22 Hollis Blanchard <hollis@penguinppc.org> 2005-11-23 03:36:25 +00:00
partition.c 2006-10-27 Hollis Blanchard <hollis@penguinppc.org> 2006-10-27 18:14:00 +00:00
rescue.c 2006-04-23 Yoshinori K. Okuji <okuji@enbug.org> 2006-04-23 13:37:36 +00:00
term.c 2005-11-03 Hollis Blanchard <hollis@penguinppc.org> 2005-11-04 03:00:59 +00:00