From cbd1aee2b14f0da381040210f81ec29db3246da5 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 3 Jul 1996 02:05:29 +0000 Subject: [PATCH] (main) [HAVE_SOCKETS]: Call rewind before writing to infile. --- lib-src/emacsserver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib-src/emacsserver.c b/lib-src/emacsserver.c index 1306a2b2f7f..05449bf6105 100644 --- a/lib-src/emacsserver.c +++ b/lib-src/emacsserver.c @@ -228,6 +228,7 @@ main () /* Transfer text from Emacs to the client, up to a newline. */ infile = openfiles[infd]; + rewind (infile); while (1) { if (fgets (string, BUFSIZ, stdin) == 0) -- 2.39.2