Mercurial > hg > xemacs-beta
diff src/lstream.h @ 5588:2dbefd79b3d3
Prevent SIGPIPEs in deactivate_process().
* process.c (deactivate_process):
Use Lstream_close_noflush on output pipe instead of Lstream_close.
* lstream.c (Lstream_close_noflush):
New. Factored out of Lstream_close.
(Lstream_close): Use Lstream_close_noflush.
* lstream.h (Lstream_close_noflush): Declare it.
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Sat, 29 Oct 2011 01:10:32 +0900 |
parents | 308d34e9f07d |
children | 65d65b52d608 |
line wrap: on
line diff
--- a/src/lstream.h Sat Oct 29 00:35:33 2011 +0900 +++ b/src/lstream.h Sat Oct 29 01:10:32 2011 +0900 @@ -306,6 +306,7 @@ int Lstream_rewind (Lstream *lstr); int Lstream_seekable_p (Lstream *lstr); int Lstream_close (Lstream *lstr); +int Lstream_close_noflush (Lstream *lstr); void Lstream_delete (Lstream *lstr); void Lstream_set_character_mode (Lstream *str);