[Wayland-bugs] [Bug 760964] New: hardcodes temp dir to /tmp

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Thu Jan 21 12:46:16 PST 2016


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

            Bug ID: 760964
           Summary: hardcodes temp dir to /tmp
    Classification: Platform
           Product: gtk+
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Backend: Wayland
          Assignee: gtk-bugs at gtk.org
          Reporter: chpe at gnome.org
        QA Contact: gtk-bugs at gtk.org
                CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
     GNOME version: ---

In gdk/wayland/gdkdisplay-wayland.c:create_shm_pool():

  char filename[] = "/tmp/wayland-shm-XXXXXX";

  fd = mkstemp (filename);

This should respect a user-set temp directory (g_get_tmp_dir()) or just use
g_file_open_tmp() directly.

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


More information about the wayland-bugs mailing list