diff options
author | Richard Hughes <richard@hughsie.com> | 2018-06-14 19:18:25 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2018-06-14 19:18:25 +0100 |
commit | 7a7fe06939192c4bbbca7f67079263311ee4bb0b (patch) | |
tree | ea945f1a48dab5d9acafc3b69b9dddbd790a687c /gio/gfile.c | |
parent | c36c55dbd6b2706120d8468c1cad4d28b73742b9 (diff) | |
download | glib-7a7fe06939192c4bbbca7f67079263311ee4bb0b.tar.gz |
gio: PPC64 returns EOPNOTSUPP from splice() if not supportedwip/hughsie/EOPNOTSUPP
Diffstat (limited to 'gio/gfile.c')
-rw-r--r-- | gio/gfile.c | 2 |
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 |