mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
Merge branch 'wip/hughsie/EOPNOTSUPP' into 'master'
Handle EOPNOTSUPP error from splice() See merge request GNOME/glib!112
This commit is contained in:
commit
f784df722d
@ -2974,7 +2974,7 @@ retry:
|
||||
|
||||
if (errsv == EINTR)
|
||||
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,
|
||||
_("Splice not supported"));
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user