mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 08:58:54 +02:00
gio: PPC64 returns EOPNOTSUPP from splice() if not supported
This commit is contained in:
@@ -2974,7 +2974,7 @@ retry:
|
|||||||
|
|
||||||
if (errsv == EINTR)
|
if (errsv == EINTR)
|
||||||
goto retry;
|
goto retry;
|
||||||
else if (errsv == ENOSYS || errsv == EINVAL)
|
else if (errsv == ENOSYS || errsv == EINVAL || errsv == EOPNOTSUPP)
|
||||||
g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
|
g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
|
||||||
_("Splice not supported"));
|
_("Splice not supported"));
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user