grub/commands
marco_g eaef05533f 2006-04-29 Marco Gerards <marco@gnu.org>
* commands/configfile.c (grub_cmd_configfile): Execute the
	configfile within its own context.

	* include/grub/env.h (grub_env_context_open): New prototype.
	(grub_env_context_close): Likewise.

	* kern/env.c (grub_env): Removed.
	(grub_env_sorted): Likewise.
	(grub_env_context): New variable.
	(grub_env_var_context): Likewise.
	(grub_env_find): Search both the active context and the global
	context.
	(grub_env_context_open): New function.
	(grub_env_context_close): Likewise.
	(grub_env_insert): Likewise.
	(grub_env_remove): Likewise.
	(grub_env_export): Likewise.
	(grub_env_set): Changed to use helper functions to avoid code
	duplication.
	(grub_env_iterate): Rewritten so both the current context and the
	global context are being used.

	* normal/command.c (export_command): New function.
	(grub_command_init): Register the `export' function.
2006-04-29 20:29:42 +00:00
..
i386/pc 2005-12-03 Vincent Pelletier <subdino2004@yahoo.fr> 2005-12-03 16:18:27 +00:00
ieee1275 2005-11-13 Marco Gerards <mgerards@xs4all.nl> 2005-11-13 15:47:09 +00:00
boot.c 2005-11-13 Marco Gerards <mgerards@xs4all.nl> 2005-11-13 15:47:09 +00:00
cat.c 2005-11-13 Marco Gerards <mgerards@xs4all.nl> 2005-11-13 15:47:09 +00:00
cmp.c 2005-11-13 Marco Gerards <mgerards@xs4all.nl> 2005-11-13 15:47:09 +00:00
configfile.c 2006-04-29 Marco Gerards <marco@gnu.org> 2006-04-29 20:29:42 +00:00
default.c 2005-11-13 Marco Gerards <mgerards@xs4all.nl> 2005-11-13 15:47:09 +00:00
help.c 2005-11-13 Marco Gerards <mgerards@xs4all.nl> 2005-11-13 15:47:09 +00:00
ls.c 2005-11-13 Marco Gerards <mgerards@xs4all.nl> 2005-11-13 15:47:09 +00:00
search.c 2005-11-13 Marco Gerards <mgerards@xs4all.nl> 2005-11-13 15:47:09 +00:00
terminal.c 2005-11-13 Marco Gerards <mgerards@xs4all.nl> 2005-11-13 15:47:09 +00:00
test.c 2005-11-13 Marco Gerards <mgerards@xs4all.nl> 2005-11-13 15:47:09 +00:00
timeout.c 2005-11-13 Marco Gerards <mgerards@xs4all.nl> 2005-11-13 15:47:09 +00:00
videotest.c 2006-03-14 Vesa Jaaskelainen <chaac@nic.fi> 2006-03-14 19:08:34 +00:00