Re: [PATCH wayland] cursor: Remove "weston" from anonymous shm filenames
On 27 July 2016 at 17:06, Derek Foremanwrote: > 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 Heh. Branding! To ssh://git.freedesktop.org/git/wayland/wayland 9ac70f4..5c48aac master -> master Cheers, Daniel ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel
Re: [PATCH wayland] cursor: Remove "weston" from anonymous shm filenames
Hi, Reviewed-by: Giulio Camuffo2016-07-27 21:02 GMT+02:00 Yong Bakos : > On Jul 27, 2016, at 9:06 AM, Derek Foreman 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 > > This updates some legacy naming, and is > > Reviewed-by: Yong Bakos > > 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-XX"; >> + static const char template[] = "/wayland-cursor-shared-XX"; >> const char *path; >> char *name; >> int fd; >> -- >> 2.8.1 >> >> ___ >> wayland-devel mailing list >> wayland-devel@lists.freedesktop.org >> https://lists.freedesktop.org/mailman/listinfo/wayland-devel > > ___ > wayland-devel mailing list > wayland-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/wayland-devel ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel
Re: [PATCH wayland] cursor: Remove "weston" from anonymous shm filenames
On Jul 27, 2016, at 9:06 AM, Derek Foremanwrote: > > 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 This updates some legacy naming, and is Reviewed-by: Yong Bakos 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-XX"; > + static const char template[] = "/wayland-cursor-shared-XX"; > const char *path; > char *name; > int fd; > -- > 2.8.1 > > ___ > wayland-devel mailing list > wayland-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/wayland-devel ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel
[PATCH wayland] cursor: Remove "weston" from anonymous shm filenames
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--- 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-XX"; + static const char template[] = "/wayland-cursor-shared-XX"; const char *path; char *name; int fd; -- 2.8.1 ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel