summaryrefslogtreecommitdiff
path: root/gio
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2018-06-14 19:18:25 +0100
committerRichard Hughes <richard@hughsie.com>2018-06-14 19:18:25 +0100
commit7a7fe06939192c4bbbca7f67079263311ee4bb0b (patch)
treeea945f1a48dab5d9acafc3b69b9dddbd790a687c /gio
parentc36c55dbd6b2706120d8468c1cad4d28b73742b9 (diff)
downloadglib-7a7fe06939192c4bbbca7f67079263311ee4bb0b.tar.gz
gio: PPC64 returns EOPNOTSUPP from splice() if not supportedwip/hughsie/EOPNOTSUPP
Diffstat (limited to 'gio')
-rw-r--r--gio/gfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gfile.c b/gio/gfile.c
index c17aeb040..1b67002c4 100644
--- a/gio/gfile.c
+++ b/gio/gfile.c
@@ -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