comparison src/process.c @ 692:681c352bbf30

*** empty log message ***
author Joseph Arceneaux <jla@gnu.org>
date Fri, 05 Jun 1992 18:39:41 +0000
parents 39f0e62a8511
children e4093444f9f8
comparison
equal deleted inserted replaced
691:cae8c3ef1677 692:681c352bbf30
2106 SIGTYPE (*old_sigpipe)(); 2106 SIGTYPE (*old_sigpipe)();
2107 2107
2108 /* Don't send more than 500 bytes at a time. */ 2108 /* Don't send more than 500 bytes at a time. */
2109 if (this > 500) 2109 if (this > 500)
2110 this = 500; 2110 this = 500;
2111 old_sigpipe = signal (SIGPIPE, send_process_trap); 2111 old_sigpipe = (SIGTYPE (*) ()) signal (SIGPIPE, send_process_trap);
2112 rv = write (XFASTINT (XPROCESS (proc)->outfd), buf, this); 2112 rv = write (XFASTINT (XPROCESS (proc)->outfd), buf, this);
2113 signal (SIGPIPE, old_sigpipe); 2113 signal (SIGPIPE, old_sigpipe);
2114 if (rv < 0) 2114 if (rv < 0)
2115 { 2115 {
2116 if (0 2116 if (0