• marco_g's avatar
    2006-12-12 Marco Gerards <marco@gnu.org> · a8aa5762
    marco_g authored
    	* 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.
    a8aa5762
Name
Last commit
Last update
..
efi Loading commit data...
i386 Loading commit data...
ieee1275 Loading commit data...
powerpc Loading commit data...
sparc64 Loading commit data...
device.c Loading commit data...
disk.c Loading commit data...
dl.c Loading commit data...
elf.c Loading commit data...
env.c Loading commit data...
err.c Loading commit data...
file.c Loading commit data...
fs.c Loading commit data...
loader.c Loading commit data...
main.c Loading commit data...
misc.c Loading commit data...
mm.c Loading commit data...
parser.c Loading commit data...
partition.c Loading commit data...
rescue.c Loading commit data...
term.c Loading commit data...