From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 19 Jul 2019 10:38:26 +0200 Subject: [U-Boot] [RFC, PATCH v4 08/16] hashtable: import/export entries with flags In-Reply-To: <20190717082525.891-9-takahiro.akashi@linaro.org> References: <20190717082525.891-1-takahiro.akashi@linaro.org> <20190717082525.891-9-takahiro.akashi@linaro.org> Message-ID: <20190719083826.C76C2240049@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 Takahiro, In message <20190717082525.891-9-takahiro.akashi@linaro.org> you wrote: > 'flags' value of all the entries in hashtable should be preserved across > save/load of U-Boot environment context. > To hold such information in an exported file, its text format is now > expanded as follows: > name:attr=value > ... > \0 > > where "attr" must be a fixed-length(ENV_FLAGS_ATTR_MAX_LEN) string which > complies with a existing format of ".flags" variable and used by > env_attr_lookup(). Full NAK here. This breaks compatibility with exiting code. The colon is a legal character in variable names, so you cannot use it to introduce new meanings. Please extend existing flag handling in a compatible way instead. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk 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 Anything that is worth doing at all is worth doing well. -- Philip Earl of Chesterfield