Fix struct termios host - target translation
When converting the termios structure between host and target in target_to_host_termios and host_to_target_termios, the c_cc[] array is never initialised. Calling memset() before using it allows to run successfully "stty echo / stty -echo" on arm-linux-user target (host being x86 and mips). Signed-off-by: NArnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
Showing
想要评论请 注册 或 登录