Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't reopen stdio. It's not needed, and it doesn't compile with Sola…

…ris.

Signed-off-by: Timo Sirainen <tss@iki.fi>
  • Loading branch information...
commit 9296ffbed70b44e35ecd5f68176b957629595533 1 parent 9cade23
@sirainen sirainen authored keithw committed
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/frontend/mosh-server.cc
View
5 src/frontend/mosh-server.cc
@@ -422,11 +422,6 @@ int run_server( const char *desired_ip, const char *desired_port,
if ( child == 0 ) {
/* child */
- /* reopen stdio */
- stdin = fdopen( STDIN_FILENO, "r" );
- stdout = fdopen( STDOUT_FILENO, "w" );
- stderr = fdopen( STDERR_FILENO, "w" );
-
/* reenable signals */
struct sigaction sa;
sa.sa_handler = SIG_DFL;

0 comments on commit 9296ffb

Please sign in to comment.
Something went wrong with that request. Please try again.