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

Yong Bakos junk at humanoriented.com
Wed Jul 27 19:02:04 UTC 2016


On Jul 27, 2016, at 9:06 AM, Derek Foreman <derekf at osg.samsung.com> wrote:
> 
> 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>

This updates some legacy naming, and is

Reviewed-by: Yong Bakos <ybakos at humanoriented.com>

yong


> ---
> 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
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel



More information about the wayland-devel mailing list