Merge branch 'wip/smcv/mips-sigaction' into 'master'

cond test: Don't make assumptions about struct sigaction member order

See merge request GNOME/glib!1036
This commit is contained in:
Philip Withnall 2019-08-22 08:42:45 +00:00
commit 07beaa67b6

View File

@ -316,8 +316,10 @@ test_wait_until_errno (void)
gboolean result;
GMutex lock;
GCond cond;
struct sigaction act = { };
struct sigaction act = { { signal_handler, } }; /* important: no SA_RESTART (we want EINTR) */
/* important: no SA_RESTART (we want EINTR) */
act.sa_handler = signal_handler;
g_test_summary ("Check proper handling of errno in g_cond_wait_until with a contended mutex");
g_test_bug_base ("https://gitlab.gnome.org/GNOME/glib/");