diff options
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) |