diff options
| author | Paul Eggert | 2011-03-26 19:32:40 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-26 19:32:40 -0700 |
| commit | 4a843dd730dc1d209fb759136460dc411b299616 (patch) | |
| tree | 6270452d0e918d57b080d53e5417d602aea96e59 /src/process.c | |
| parent | ffa8c828c6c76d3c246443a6752f1038eab60413 (diff) | |
| parent | 9af30bdf17f8371664bc0c5854c91c2e46257b5e (diff) | |
| download | emacs-4a843dd730dc1d209fb759136460dc411b299616.tar.gz emacs-4a843dd730dc1d209fb759136460dc411b299616.zip | |
Merge from mainline.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/process.c b/src/process.c index ecda8e08012..1abfbd3f2a4 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -5471,7 +5471,7 @@ read_process_output (Lisp_Object proc, register int channel) | |||
| 5471 | jmp_buf send_process_frame; | 5471 | jmp_buf send_process_frame; |
| 5472 | Lisp_Object process_sent_to; | 5472 | Lisp_Object process_sent_to; |
| 5473 | 5473 | ||
| 5474 | static SIGTYPE | 5474 | static void |
| 5475 | send_process_trap (int ignore) | 5475 | send_process_trap (int ignore) |
| 5476 | { | 5476 | { |
| 5477 | SIGNAL_THREAD_CHECK (SIGPIPE); | 5477 | SIGNAL_THREAD_CHECK (SIGPIPE); |
| @@ -5498,7 +5498,7 @@ send_process (volatile Lisp_Object proc, const char *volatile buf, | |||
| 5498 | EMACS_INT rv; | 5498 | EMACS_INT rv; |
| 5499 | struct coding_system *coding; | 5499 | struct coding_system *coding; |
| 5500 | struct gcpro gcpro1; | 5500 | struct gcpro gcpro1; |
| 5501 | SIGTYPE (*volatile old_sigpipe) (int); | 5501 | void (*volatile old_sigpipe) (int); |
| 5502 | 5502 | ||
| 5503 | GCPRO1 (object); | 5503 | GCPRO1 (object); |
| 5504 | 5504 | ||
| @@ -5620,7 +5620,7 @@ send_process (volatile Lisp_Object proc, const char *volatile buf, | |||
| 5620 | while (this > 0) | 5620 | while (this > 0) |
| 5621 | { | 5621 | { |
| 5622 | int outfd = p->outfd; | 5622 | int outfd = p->outfd; |
| 5623 | old_sigpipe = (SIGTYPE (*) (int)) signal (SIGPIPE, send_process_trap); | 5623 | old_sigpipe = (void (*) (int)) signal (SIGPIPE, send_process_trap); |
| 5624 | #ifdef DATAGRAM_SOCKETS | 5624 | #ifdef DATAGRAM_SOCKETS |
| 5625 | if (DATAGRAM_CHAN_P (outfd)) | 5625 | if (DATAGRAM_CHAN_P (outfd)) |
| 5626 | { | 5626 | { |
| @@ -6380,7 +6380,7 @@ process has been transmitted to the serial port. */) | |||
| 6380 | indirectly; if it does, that is a bug */ | 6380 | indirectly; if it does, that is a bug */ |
| 6381 | 6381 | ||
| 6382 | #ifdef SIGCHLD | 6382 | #ifdef SIGCHLD |
| 6383 | static SIGTYPE | 6383 | static void |
| 6384 | sigchld_handler (int signo) | 6384 | sigchld_handler (int signo) |
| 6385 | { | 6385 | { |
| 6386 | int old_errno = errno; | 6386 | int old_errno = errno; |