changeset 15591:deab323dd651

(main) [HAVE_SOCKETS]: Call rewind before writing to infile.
author Miles Bader <miles@gnu.org>
date Wed, 03 Jul 1996 02:05:29 +0000
parents 296718a360cf
children 0ebdc7e05bfd
files lib-src/emacsserver.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/emacsserver.c	Wed Jul 03 01:30:24 1996 +0000
+++ b/lib-src/emacsserver.c	Wed Jul 03 02:05:29 1996 +0000
@@ -228,6 +228,7 @@
 
 	  /* Transfer text from Emacs to the client, up to a newline.  */
 	  infile = openfiles[infd];
+	  rewind (infile);
 	  while (1)
 	    {
 	      if (fgets (string, BUFSIZ, stdin) == 0)