cursor: Remove "weston" from anonymous shm filenames
authorDerek Foreman <derekf@osg.samsung.com>
Wed, 27 Jul 2016 16:06:24 +0000 (11:06 -0500)
committerDaniel Stone <daniels@collabora.com>
Mon, 21 Nov 2016 09:58:25 +0000 (09:58 +0000)
This mildly confused me during some debugging, so I guess it wouldn't
hurt to make the filename more indicative of where it was actually
created.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Giulio Camuffo <giuliocamuffo@gmail.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
cursor/os-compatibility.c

index d7d4b33..e972d21 100644 (file)
@@ -103,7 +103,7 @@ create_tmpfile_cloexec(char *tmpname)
 int
 os_create_anonymous_file(off_t size)
 {
-       static const char template[] = "/weston-shared-XXXXXX";
+       static const char template[] = "/wayland-cursor-shared-XXXXXX";
        const char *path;
        char *name;
        int fd;