[U-Boot] [PATCH] env: don't add an empty key to the env hashtable

Wolfgang Denk wd at denx.de
Sun Apr 28 11:06:11 CEST 2013


Dear Lucian Cojocar,

In message <517C5A5A.2010106 at gmail.com> you wrote:
>
> I had an error (typo) in my predefined environment. Basically I had this:
> 
> #define CONFIG_EXTRA_ENV_SETTINGS \
> 	"key" "\0" "=value" "\0"
> 
> It would be nice if U-Boot told me that there was something wrong with 
> my environment rather than just hang.

Agreed - it should throw an error.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
We have found all life forms in the galaxy are  capable  of  superior
development.
	-- Kirk, "The Gamesters of Triskelion", stardate 3211.7


More information about the U-Boot mailing list