Message120845
| Author |
hfuru |
| Recipients |
benjamin.peterson, hfuru |
| Date |
2010年11月09日.08:42:21 |
| SpamBayes Score |
0.00025347853 |
| Marked as misclassified |
No |
| Message-id |
<hbf.20101109u2lo@bombur.uio.no> |
| In-reply-to |
<1288874942.68.0.464773855859.issue10312@psf.upfronthosting.co.za> |
| Content |
Sorry, my patch is useless if the OS calls the handler with the signal
blocked. It should also unblock the signal before doing anything
which can do FILE* operations. And set the handler again? Or just
leave the next signal to abort the process? I dunno...
Anyway, if you don't do that, just apply the save/restore of errno.
Drop the 'if (errno != save_errno)' before restoring, that bit of
paranoia was turned down in Issue10311. |
|