[PATCH wayland] cursor: Remove "weston" from anonymous shm filenames

Derek Foreman derekf at osg.samsung.com
Wed Jul 27 16:06:24 UTC 2016


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 at osg.samsung.com>
---
 cursor/os-compatibility.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cursor/os-compatibility.c b/cursor/os-compatibility.c
index d7d4b33..e972d21 100644
--- a/cursor/os-compatibility.c
+++ b/cursor/os-compatibility.c
@@ -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;
-- 
2.8.1



More information about the wayland-devel mailing list