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
64b6dd61
Commit
64b6dd61
authored
May 06, 2007
by
Richard M. Stallman
Browse files
Undo May 3 change.
parent
9913756b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/process.c
src/process.c
+6
-6
No files found.
src/process.c
View file @
64b6dd61
...
...
@@ -3912,8 +3912,8 @@ It is read into the process' buffers or given to their filter functions.
Non-nil arg PROCESS means do not return until some output has been received
from PROCESS.
Non-nil second arg SECONDS and third arg MI
CRO
SEC are number of
seconds and mi
cro
seconds to wait; return after that much time whether
Non-nil second arg SECONDS and third arg MI
LLI
SEC are number of
seconds and mi
lli
seconds to wait; return after that much time whether
or not there is input. If SECONDS is a floating point number,
it specifies a fractional number of seconds to wait.
...
...
@@ -3921,8 +3921,8 @@ If optional fourth arg JUST-THIS-ONE is non-nil, only accept output
from PROCESS, suspending reading output from other processes.
If JUST-THIS-ONE is an integer, don't run any timers either.
Return non-nil iff we received any output before the timeout expired. */)
(process, seconds, mi
cro
sec, just_this_one)
register Lisp_Object process, seconds, mi
cro
sec, just_this_one;
(process, seconds, mi
lli
sec, just_this_one)
register Lisp_Object process, seconds, mi
lli
sec, just_this_one;
{
int secs, usecs = 0;
...
...
@@ -3944,10 +3944,10 @@ Return non-nil iff we received any output before the timeout expired. */)
else
wrong_type_argument (Qnumberp, seconds);
if (INTEGERP (mi
cro
sec))
if (INTEGERP (mi
lli
sec))
{
int carry;
usecs += XINT (mi
cro
sec);
usecs += XINT (mi
lli
sec)
* 1000
;
carry = usecs / 1000000;
secs += carry;
if ((usecs -= carry * 1000000) < 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