diff options
author | Miles Bader <miles@gnu.org> | 1996-07-03 02:05:29 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-07-03 02:05:29 +0000 |
commit | f3e92137dc97118cbbf75d4a226d557c2550e2af (patch) | |
tree | 4eb2e6abd1cb24f5b97a9215d11d6a5503110231 /lib-src | |
parent | 64a66ce8b9654a7b158f722727155ec830ec9b98 (diff) | |
download | emacs-f3e92137dc97118cbbf75d4a226d557c2550e2af.tar.gz |
(main) [HAVE_SOCKETS]: Call rewind before writing to infile.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/emacsserver.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |