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
26d7389d
Commit
26d7389d
authored
Jun 04, 2003
by
Stefan Monnier
Browse files
(allocate_pty): Revert part of the previous patch.
(Faccept_process_output): Simplify.
parent
192b65f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
src/process.c
src/process.c
+2
-7
No files found.
src/process.c
View file @
26d7389d
...
...
@@ -469,6 +469,7 @@ allocate_pty ()
for
(
i
=
0
;
i
<
16
;
i
++
)
#endif
{
struct
stat
stb
;
/* Used in some PTY_OPEN. */
#ifdef PTY_NAME_SPRINTF
PTY_NAME_SPRINTF
#else
...
...
@@ -479,7 +480,6 @@ allocate_pty ()
PTY_OPEN
;
#else
/* no PTY_OPEN */
{
struct
stat
stb
;
# ifdef IRIS
/* Unusual IRIS code */
*
ptyv
=
emacs_open
(
"/dev/ptc"
,
O_RDWR
|
O_NDELAY
,
0
);
...
...
@@ -3495,12 +3495,7 @@ Return non-nil iff we received any output before the timeout expired. */)
seconds
=
-
1
;
}
else
{
if
(
NILP
(
process
))
seconds
=
-
1
;
else
seconds
=
0
;
}
seconds
=
NILP
(
process
)
?
-
1
:
0
;
if
(
NILP
(
process
))
XSETFASTINT
(
process
,
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