GNOME Bugzilla – Bug 583321
QNX: no SA_RESTART
Last modified: 2013-09-27 16:16:53 UTC
QNX is lacking SA_RESTART; "#define SA_RESTART 0" seems to work fine. This affects glib/gtester.c and glib/gmain.c. Configure or the two files should check for the definition.
Funny how history repeats itself: Bug 168352 got rid of SA_RESTART as hpux wasn't happy with it Bug 651725 cleaned the spaghetti up and put it back and here we are with http://community.qnx.com/sf/discussion/do/listPosts/projects.core_os/discussion.newcode.topc8501?_pagenum=2 saying QNX hasn't got SA_RESTART... Implement a safe_read() function which wraps read() in a while loop testing for EINTR? or not bother?
Created attachment 241440 [details] [review] trivial fix Trivial fix: only use SA_RESTART if it is defined
Created attachment 255904 [details] [review] trivial build fix Update to remove fuzz on patch application. (Have I waited long enough to apply?)
Review of attachment 255904 [details] [review]: Looks fine.
Commited thanks! (faster than a year and a half..)