Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
26495794
Commit
26495794
authored
Aug 22, 2013
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* process.c (flush_pending_output): Remove stub.
All uses removed.
parent
917c483a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
25 deletions
+9
-25
src/ChangeLog
src/ChangeLog
+5
-0
src/lisp.h
src/lisp.h
+0
-1
src/process.c
src/process.c
+4
-14
src/sysdep.c
src/sysdep.c
+0
-10
No files found.
src/ChangeLog
View file @
26495794
2013-08-22 Paul Eggert <eggert@cs.ucla.edu>
* process.c (flush_pending_output): Remove stub.
All uses removed.
2013-08-21 Paul Eggert <eggert@cs.ucla.edu>
* callproc.c: Fix race that killed background processes (Bug#15144).
...
...
src/lisp.h
View file @
26495794
...
...
@@ -4100,7 +4100,6 @@ extern void init_sys_modes (struct tty_display_info *);
extern
void
reset_sys_modes
(
struct
tty_display_info
*
);
extern
void
init_all_sys_modes
(
void
);
extern
void
reset_all_sys_modes
(
void
);
extern
void
flush_pending_output
(
int
)
ATTRIBUTE_CONST
;
extern
void
child_setup_tty
(
int
);
extern
void
setup_pty
(
int
);
extern
int
set_window_size
(
int
,
int
,
int
);
...
...
src/process.c
View file @
26495794
...
...
@@ -3846,15 +3846,12 @@ deactivate_process (Lisp_Object proc)
}
#endif
inchannel
=
p
->
infd
;
/* Beware SIGCHLD hereabouts. */
if
(
inchannel
>=
0
)
flush_pending_output
(
inchannel
);
for (i = 0; i < PROCESS_OPEN_FDS; i++)
close_process_fd (&p->open_fd[i]);
inchannel = p->infd;
if (inchannel >= 0)
{
p->infd = -1;
...
...
@@ -5785,10 +5782,9 @@ process_send_signal (Lisp_Object process, int signo, Lisp_Object current_group,
return;
}
switch
(
signo
)
{
#ifdef SIGCONT
case
SIGCONT
:
if (signo == SIGCONT)
{
p->raw_status_new = 0;
pset_status (p, Qrun);
p->tick = ++process_tick;
...
...
@@ -5797,14 +5793,8 @@ process_send_signal (Lisp_Object process, int signo, Lisp_Object current_group,
status_notify (NULL);
redisplay_preserve_echo_area (13);
}
break
;
#endif
/* ! defined (SIGCONT) */
case
SIGINT
:
case
SIGQUIT
:
case
SIGKILL
:
flush_pending_output
(
p
->
infd
);
break
;
}
#endif
/* If we don't have process groups, send the signal to the immediate
subprocess. That isn't really right, but it's better than any
...
...
src/sysdep.c
View file @
26495794
...
...
@@ -337,16 +337,6 @@ child_status_changed (pid_t child, int *status, int options)
return
get_child_status
(
child
,
status
,
WNOHANG
|
options
,
0
);
}
/*
* flush any pending output
* (may flush input as well; it does not matter the way we use it)
*/
void
flush_pending_output
(
int
channel
)
{
/* FIXME: maybe this function should be removed */
}
/* Set up the terminal at the other end of a pseudo-terminal that
we will be controlling an inferior through.
...
...
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