aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorPaul Eggert2013-08-22 11:29:51 -0700
committerPaul Eggert2013-08-22 11:29:51 -0700
commit2649579468273544ead2ed1c16b224a75ec3a895 (patch)
tree3dddbcce56e552cddf1993fdd376cdbc791506d0 /src/process.c
parent917c483a2976db21334425d87a33d45ba8c58d60 (diff)
downloademacs-2649579468273544ead2ed1c16b224a75ec3a895.tar.gz
emacs-2649579468273544ead2ed1c16b224a75ec3a895.zip
* process.c (flush_pending_output): Remove stub.
All uses removed.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c18
1 files changed, 4 insertions, 14 deletions
diff --git a/src/process.c b/src/process.c
index 349ec26534b..75cb590fc57 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3846,15 +3846,12 @@ deactivate_process (Lisp_Object proc)
3846 } 3846 }
3847#endif 3847#endif
3848 3848
3849 inchannel = p->infd;
3850
3851 /* Beware SIGCHLD hereabouts. */ 3849 /* Beware SIGCHLD hereabouts. */
3852 if (inchannel >= 0)
3853 flush_pending_output (inchannel);
3854 3850
3855 for (i = 0; i < PROCESS_OPEN_FDS; i++) 3851 for (i = 0; i < PROCESS_OPEN_FDS; i++)
3856 close_process_fd (&p->open_fd[i]); 3852 close_process_fd (&p->open_fd[i]);
3857 3853
3854 inchannel = p->infd;
3858 if (inchannel >= 0) 3855 if (inchannel >= 0)
3859 { 3856 {
3860 p->infd = -1; 3857 p->infd = -1;
@@ -5785,10 +5782,9 @@ process_send_signal (Lisp_Object process, int signo, Lisp_Object current_group,
5785 return; 5782 return;
5786 } 5783 }
5787 5784
5788 switch (signo)
5789 {
5790#ifdef SIGCONT 5785#ifdef SIGCONT
5791 case SIGCONT: 5786 if (signo == SIGCONT)
5787 {
5792 p->raw_status_new = 0; 5788 p->raw_status_new = 0;
5793 pset_status (p, Qrun); 5789 pset_status (p, Qrun);
5794 p->tick = ++process_tick; 5790 p->tick = ++process_tick;
@@ -5797,14 +5793,8 @@ process_send_signal (Lisp_Object process, int signo, Lisp_Object current_group,
5797 status_notify (NULL); 5793 status_notify (NULL);
5798 redisplay_preserve_echo_area (13); 5794 redisplay_preserve_echo_area (13);
5799 } 5795 }
5800 break;
5801#endif /* ! defined (SIGCONT) */
5802 case SIGINT:
5803 case SIGQUIT:
5804 case SIGKILL:
5805 flush_pending_output (p->infd);
5806 break;
5807 } 5796 }
5797#endif
5808 5798
5809 /* If we don't have process groups, send the signal to the immediate 5799 /* If we don't have process groups, send the signal to the immediate
5810 subprocess. That isn't really right, but it's better than any 5800 subprocess. That isn't really right, but it's better than any