From 59f23005cfdbf88dfa0897c7e18ded2dec0970d2 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 25 Mar 1997 03:52:53 +0000 Subject: [PATCH] (Fopen_network_stream): Use same socket for in and out. --- src/process.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/process.c b/src/process.c index 1d4fa70b52e..0f8e182cb8f 100644 --- a/src/process.c +++ b/src/process.c @@ -1855,9 +1855,7 @@ Fourth arg SERVICE is name of the service desired, or an integer\n\ #endif /* TERM */ inch = s; - outch = dup (s); - if (outch < 0) - report_file_error ("error duplicating socket", Fcons (name, Qnil)); + outch = s; if (!NILP (buffer)) buffer = Fget_buffer_create (buffer); -- 2.39.2