https://bugzilla.gnome.org/show_bug.cgi?id=654232
g_cancellable_write_cancelled (cancellable);
return;
}
g_cancellable_write_cancelled (cancellable);
return;
}
- else if (errno != ENOSYS)
- return;
- /* Fall through on ENOSYS */
+ else if (!(errno == ENOSYS || errno == EINVAL))
+ {
+ return;
+ }
+ /* Fall through on ENOSYS or EINVAL */
#endif
if (g_unix_open_pipe (priv->cancel_pipe, FD_CLOEXEC, NULL))
{
#endif
if (g_unix_open_pipe (priv->cancel_pipe, FD_CLOEXEC, NULL))
{