grub/normal
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
..
i386 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
powerpc 2004-11-17 Hollis Blanchard <hollis@penguinppc.org> 2004-11-16 23:34:45 +00:00
sparc64 2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr> 2005-10-23 21:38:12 +00:00
arg.c 2005-07-17 Yoshinori Okuji <okuji@enbug.org> 2005-07-17 20:26:07 +00:00
cmdline.c 2006-03-14 Vesa Jaaskelainen <chaac@nic.fi> 2006-03-14 19:08:34 +00:00
command.c 2006-04-29 Marco Gerards <marco@gnu.org> 2006-04-29 20:29:42 +00:00
completion.c 2005-10-24 Marco Gerards <mgerards@xs4all.nl> 2005-10-24 10:23:46 +00:00
execute.c 2006-05-29 Vesa Jaaskelainen <chaac@nic.fi> 2006-05-28 21:58:35 +00:00
function.c 2005-11-06 Marco Gerards <mgerards@xs4all.nl> 2005-11-06 22:19:59 +00:00
lexer.c 2006-06-04 Yoshinori K. Okuji <okuji@enbug.org> 2006-06-04 15:56:55 +00:00
main.c 2006-12-12 Marco Gerards <marco@gnu.org> 2006-12-12 00:13:55 +00:00
menu.c 2006-10-28 Yoshinori K. Okuji <okuji@enbug.org> 2006-10-28 14:00:05 +00:00
menu_entry.c 2006-12-11 Marco Gerards <marco@gnu.org> 2006-12-11 21:00:06 +00:00
misc.c 2005-08-19 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-19 00:32:01 +00:00
parser.y 2006-06-04 Yoshinori K. Okuji <okuji@enbug.org> 2006-06-04 15:56:55 +00:00
script.c 2006-09-22 Marco Gerards <marco@gnu.org> 2006-09-22 21:32:48 +00:00