Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
cbd1aee2
Commit
cbd1aee2
authored
Jul 03, 1996
by
Miles Bader
Browse files
(main) [HAVE_SOCKETS]: Call rewind before writing to infile.
parent
c71437cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lib-src/emacsserver.c
lib-src/emacsserver.c
+1
-0
No files found.
lib-src/emacsserver.c
View file @
cbd1aee2
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment