From: Wolfgang Denk Date: Tue, 27 Oct 2009 21:01:29 +0100 Subject: [U-Boot] [PATCH 3/5 v2] readline(): Add ability to modify a string buffer In-Reply-To: <1256501576-19700-3-git-send-email-ptyser@xes-inc.com> References: <1256501576-19700-1-git-send-email-ptyser@xes-inc.com> <1256501576-19700-3-git-send-email-ptyser@xes-inc.com> Message-ID: <20091027200129.DF9DCE916D5@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 Peter Tyser, In message <1256501576-19700-3-git-send-email-ptyser@xes-inc.com> you wrote: > If the 'buf' parameter is a non-0-length string, its contents will be > edited. Previously, the initial contents of 'buf' were ignored and the > user entered its contents from scratch. > > This change is necessary to support the upcoming "editenv" command but > could also be used for future commands which require a user to modify > an existing string. > > Signed-off-by: Peter Tyser > --- > Changes since v1: > - Updated commit message > > common/main.c | 10 ++++++++++ > 1 files changed, 10 insertions(+), 0 deletions(-) Applied, thanks. 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 Women professionals do tend to over-compensate. -- Dr. Elizabeth Dehaver, "Where No Man Has Gone Before", stardate 1312.9.