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 | cbd1aee2b14f0da381040210f81ec29db3246da5 (patch) | |
tree | d9de1ecdb168ff8d6ddee19649d2e40ffd3790c3 /lib-src | |
parent | c71437cfe9f4002f04a88c0f1085767a8923f257 (diff) | |
download | emacs-cbd1aee2b14f0da381040210f81ec29db3246da5.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) |