From: Michael Walle Date: Wed, 15 Feb 2012 20:44:49 +0100 Subject: [U-Boot] [PATCH v4 4/9] Stop using builtin_run_command() In-Reply-To: References: <1326523557-6818-1-git-send-email-sjg@chromium.org> Message-ID: <201202152044.49164.michael@walle.cc> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Mittwoch 15 Februar 2012, 07:05:24 schrieb Simon Glass: > Unfortunately I think that this approach is a little broken. We are running > a command sequence from getenv(), but while processing it, we might update > the environment variable. Worse, we actually overwrite the newlines in the > variable as we process it. Isn't it as easy as copying the current content and processing that instead? -- Michael