[Wayland-bugs] [Bug 766341] Do not rely on memfd as it requires a fairly recent kernel

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Mon May 16 19:18:44 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=766341

Matthias Clasen <mclasen at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #328005|none                        |accepted-commit_now
             status|                            |

--- Comment #32 from Matthias Clasen <mclasen at redhat.com> ---
Review of attachment 328005:

Stil looks good to me

::: gdk/wayland/gdkdisplay-wayland.c
@@ +1125,3 @@
   if (ret < 0)
+    g_critical (G_STRLOC ": creating shared memory file failed: %m (fallback:
%s)",
+                force_shm_open? "true" : "false");

Instead of the meaningless 'fallback', I might reword this as

"creating shared memory file (%s) failed: %m", force_shm_open ? "shm_open" :
"memfd_create"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160516/d8ee5d69/attachment.html>


More information about the wayland-bugs mailing list