From: Wolfgang Denk Date: Sun, 28 Apr 2013 11:06:11 +0200 Subject: [U-Boot] [PATCH] env: don't add an empty key to the env hashtable In-Reply-To: <517C5A5A.2010106@gmail.com> References: <1367099787-25602-1-git-send-email-cojocar@gmail.com> <20130427223534.0A1F33811D4@gemini.denx.de> <517C5A5A.2010106@gmail.com> Message-ID: <20130428090611.C3C49384874@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Lucian Cojocar, In message <517C5A5A.2010106@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