[U-Boot] [PATCH 3/5 v2] readline(): Add ability to modify a string buffer

Wolfgang Denk wd at denx.de
Tue Oct 27 21:01:29 CET 2009


Dear Peter Tyser,

In message <1256501576-19700-3-git-send-email-ptyser at 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 <ptyser at xes-inc.com>
> ---
> 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.


More information about the U-Boot mailing list