After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760964 - hardcodes temp dir to /tmp
hardcodes temp dir to /tmp
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Wayland
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-01-21 20:46 UTC by Christian Persch
Modified: 2016-01-22 03:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2016-01-21 20:46:16 UTC
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.