From: Miles Bader Date: Wed, 3 Jul 1996 02:05:29 +0000 (+0000) Subject: (main) [HAVE_SOCKETS]: Call rewind before writing to infile. X-Git-Tag: emacs-19.34~271 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cbd1aee2b14f0da381040210f81ec29db3246da5;p=emacs.git (main) [HAVE_SOCKETS]: Call rewind before writing to infile. --- 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)