From 7a7fe06939192c4bbbca7f67079263311ee4bb0b Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Thu, 14 Jun 2018 19:18:25 +0100 Subject: [PATCH] gio: PPC64 returns EOPNOTSUPP from splice() if not supported --- gio/gfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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