mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-31 22:23:39 +02:00
Handle EINTR for a few more write() calls
https://bugzilla.gnome.org/show_bug.cgi?id=682819
This commit is contained in:
@@ -281,7 +281,10 @@ static void
|
||||
write_string (int fd,
|
||||
const gchar *string)
|
||||
{
|
||||
write (fd, string, strlen (string));
|
||||
int res;
|
||||
do
|
||||
res = write (fd, string, strlen (string));
|
||||
while (G_UNLIKELY (res == -1 && errno == EINTR));
|
||||
}
|
||||
|
||||
static GLogDomain*
|
||||
|
Reference in New Issue
Block a user