[PATCH 04/12] [Server]: enhanced the console input object so that it doesn't require a wineconsole to be running
Alexandre Julliard
julliard at winehq.org
Mon Aug 30 10:55:15 CDT 2010
Eric Pouech <eric.pouech at 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 at winehq.org
More information about the wine-devel
mailing list