Re: [PATCH 04/12] [Server]: enhanced the console input object so that it doesn't require a wineconsole to be running
30 Aug
2010
30 Aug
'10
3:55 p.m.
Eric Pouech <eric.pouech(a)orange.fr> writes:
+ if (tcgetattr(fd, &term) < 0) fprintf(stderr, "Couldn't get termios\n"); + console_input->termios = term; + term.c_lflag &= ~(ECHO | ECHONL | ICANON | IEXTEN); + term.c_iflag &= ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON);
Errors need to be handled properly in the server, you can't just print a message and continue as if nothing happened. -- Alexandre Julliard julliard(a)winehq.org
5586
Age (days ago)
5586
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard