]> Git Repo - qemu.git/commit
Fix struct termios host - target translation
authorArnaud Patard <[email protected]>
Tue, 21 Apr 2009 14:39:08 +0000 (17:39 +0300)
committerRiku Voipio <[email protected]>
Tue, 16 Jun 2009 13:56:28 +0000 (16:56 +0300)
commit44607123c4f8393b9fcbbb63274f5f9dcbeaae21
tree1bb39f0bb7bc6e2ac157917fb2ebad704ce70ca6
parentebc996f3b13004e7272c462254522ba0102f09fe
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: Arnaud Patard <[email protected]>
Signed-off-by: Riku Voipio <[email protected]>
linux-user/syscall.c
This page took 0.024198 seconds and 4 git commands to generate.