mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gwakeup: Fix uninitialized variable from previous commit
We really don't want to infloop here...
This commit is contained in:
parent
090f874626
commit
cbd7225e70
@ -241,7 +241,7 @@ g_wakeup_signal (GWakeup *wakeup)
|
||||
else
|
||||
{
|
||||
do
|
||||
write (wakeup->fds[1], &one, 1);
|
||||
res = write (wakeup->fds[1], &one, 1);
|
||||
while (G_UNLIKELY (res == -1 && errno == EINTR));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user