[U-Boot] [PATCH 1/2 v2] tools/netconsole: make a bit more robust

Wolfgang Denk wd at denx.de
Tue Sep 15 22:54:34 CEST 2009


Dear Mike Frysinger,

In message <1252513221-2524-1-git-send-email-vapier at gentoo.org> you wrote:
> The netcat utility likes to exit when it receives an empty packet (as it
> thinks this means EOF).  This can easily occur when working with command
> line editing as this behavior will be triggered when using backspace.  Or
> with tabs and command line completion.  So create two netcat processes -
> one to only listen (and put it into a loop), and one to do the sending.
> Once the user quits the transmitting netcat, the listening one will be
> killed automatically.
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
> v2
> 	- split the changes (robust and ncb)
> 
>  tools/netconsole |   12 +++++++++---
>  1 files changed, 9 insertions(+), 3 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
Presidency:  The greased pig in the field game of American politics.
- Ambrose Bierce


More information about the U-Boot mailing list