Commit 508b171c authored by Joseph Arceneaux's avatar Joseph Arceneaux

*** empty log message ***

parent c0a58692
/* Lisp parsing and input streams. /* Lisp parsing and input streams.
Copyright (C) 1985, 1986, 1987, 1988, 1989, 1992 Free Software Foundation, Inc. Copyright (C) 1985, 1986, 1987, 1988, 1989,
1992 Free Software Foundation, Inc.
This file is part of GNU Emacs. This file is part of GNU Emacs.
......
...@@ -2108,7 +2108,7 @@ send_process (proc, buf, len) ...@@ -2108,7 +2108,7 @@ send_process (proc, buf, len)
/* Don't send more than 500 bytes at a time. */ /* Don't send more than 500 bytes at a time. */
if (this > 500) if (this > 500)
this = 500; this = 500;
old_sigpipe = signal (SIGPIPE, send_process_trap); old_sigpipe = (SIGTYPE (*) ()) signal (SIGPIPE, send_process_trap);
rv = write (XFASTINT (XPROCESS (proc)->outfd), buf, this); rv = write (XFASTINT (XPROCESS (proc)->outfd), buf, this);
signal (SIGPIPE, old_sigpipe); signal (SIGPIPE, old_sigpipe);
if (rv < 0) if (rv < 0)
......
...@@ -601,7 +601,8 @@ save_signal_handlers (saved_handlers) ...@@ -601,7 +601,8 @@ save_signal_handlers (saved_handlers)
{ {
while (saved_handlers->code) while (saved_handlers->code)
{ {
saved_handlers->handler = signal (saved_handlers->code, SIG_IGN); saved_handlers->handler
= (SIGTYPE (*) ()) signal (saved_handlers->code, SIG_IGN);
saved_handlers++; saved_handlers++;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment