Mercurial > hg > xemacs-beta
comparison src/process-unix.c @ 375:a300bb07d72d r21-2b3
Import from CVS: tag r21-2b3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:04:51 +0200 |
parents | 6240c7796c7a |
children | d883f39b8495 |
comparison
equal
deleted
inserted
replaced
374:4ebeb1a5388b | 375:a300bb07d72d |
---|---|
1196 } | 1196 } |
1197 } | 1197 } |
1198 else | 1198 else |
1199 { /* We got here from a longjmp() from the SIGPIPE handler */ | 1199 { /* We got here from a longjmp() from the SIGPIPE handler */ |
1200 signal (SIGPIPE, old_sigpipe); | 1200 signal (SIGPIPE, old_sigpipe); |
1201 /* Close the file lstream so we don't attempt to write to it further */ | |
1202 /* #### There is controversy over whether this might cause fd leakage */ | |
1203 /* my tests say no. -slb */ | |
1204 XLSTREAM (p->pipe_outstream)->flags &= ~LSTREAM_FL_IS_OPEN; | |
1201 p->status_symbol = Qexit; | 1205 p->status_symbol = Qexit; |
1202 p->exit_code = 256; /* #### SIGPIPE ??? */ | 1206 p->exit_code = 256; /* #### SIGPIPE ??? */ |
1203 p->core_dumped = 0; | 1207 p->core_dumped = 0; |
1204 p->tick++; | 1208 p->tick++; |
1205 process_tick++; | 1209 process_tick++; |