Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
5587:3fde0e346ad7 | 5588:2dbefd79b3d3 |
---|---|
304 int Lstream_was_blocked_p (Lstream *lstr); | 304 int Lstream_was_blocked_p (Lstream *lstr); |
305 void Lstream_unread (Lstream *lstr, const void *data, Bytecount size); | 305 void Lstream_unread (Lstream *lstr, const void *data, Bytecount size); |
306 int Lstream_rewind (Lstream *lstr); | 306 int Lstream_rewind (Lstream *lstr); |
307 int Lstream_seekable_p (Lstream *lstr); | 307 int Lstream_seekable_p (Lstream *lstr); |
308 int Lstream_close (Lstream *lstr); | 308 int Lstream_close (Lstream *lstr); |
309 int Lstream_close_noflush (Lstream *lstr); | |
309 | 310 |
310 void Lstream_delete (Lstream *lstr); | 311 void Lstream_delete (Lstream *lstr); |
311 void Lstream_set_character_mode (Lstream *str); | 312 void Lstream_set_character_mode (Lstream *str); |
312 void Lstream_unset_character_mode (Lstream *lstr); | 313 void Lstream_unset_character_mode (Lstream *lstr); |
313 | 314 |