signal() defaults to SA_RESTART, xsignal() uses sigaction() which does not. I'm not sure which is correct? (It's currently using signal() and things seem ok with what?)
*shrug* The readall() code assumes no SA_RESTART. The main downside of signal by default I'm aware of is having to poll before read() when you want a timeout via alarm() (unless you siglongjmp)... Just wondering if anybody out there better than me at C has an opinion. :) Rob _______________________________________________ Toybox mailing list Toybox@lists.landley.net http://lists.landley.net/listinfo.cgi/toybox-landley.net