On Mon, Mar 11, 2013 at 4:39 PM, Pekka Paalanen wrote:
> On Mon, 11 Mar 2013 18:43:07 +0100
> Emilio Pozuelo Monfort wrote:
>
>> On 03/11/2013 06:12 PM, Thiago Macieira wrote:
>> > On segunda-feira, 11 de março de 2013 17.10.53, Emilio Pozuelo Monfort
>> > wrote:
>> >> The XDG base directory spe
On segunda-feira, 11 de março de 2013 18.43.07, Emilio Pozuelo Monfort wrote:
> Debian doesn't by default (you can use systemd or upstart, but sysvinit is
> the default init system). Probably others, as well as *BSDs (some people
> are interested in porting wayland to them).
That has nothing to d
On Mon, 11 Mar 2013 18:43:07 +0100
Emilio Pozuelo Monfort wrote:
> On 03/11/2013 06:12 PM, Thiago Macieira wrote:
> > On segunda-feira, 11 de março de 2013 17.10.53, Emilio Pozuelo Monfort
> > wrote:
> >> The XDG base directory specification[1] says that "If $XDG_RUNTIME_DIR
> >> is not set appl
On Mon, 11 Mar 2013 10:12:08 -0700
Thiago Macieira wrote:
> On segunda-feira, 11 de março de 2013 17.10.53, Emilio Pozuelo Monfort wrote:
> > The XDG base directory specification[1] says that "If $XDG_RUNTIME_DIR
> > is not set applications should fall back to a replacement directory
> > with sim
Why not have _get_runtime_dir return a static string pointer instead? It
avoids a copy in the (common) case where XDG_RUNTIME_DIR is set, and
only leaks memory on exit if XDG_RUNTIME_DIR is not set.
___
wayland-devel mailing list
wayland-devel@lists.fr
On 03/11/2013 06:12 PM, Thiago Macieira wrote:
On segunda-feira, 11 de março de 2013 17.10.53, Emilio Pozuelo Monfort wrote:
The XDG base directory specification[1] says that "If $XDG_RUNTIME_DIR
is not set applications should fall back to a replacement directory
with similar capabilities and pr
On segunda-feira, 11 de março de 2013 17.10.53, Emilio Pozuelo Monfort wrote:
> The XDG base directory specification[1] says that "If $XDG_RUNTIME_DIR
> is not set applications should fall back to a replacement directory
> with similar capabilities and print a warning message."
>
> Currently we abo
This adds a local copy of wl_get_runtime_dir() from
wayland's src/wayland-util.c
https://bugs.freedesktop.org/show_bug.cgi?id=62092
---
shared/os-compatibility.c | 39 +--
1 file changed, 33 insertions(+), 6 deletions(-)
diff --git a/shared/os-compatibility.
Hi,
The XDG base directory specification[1] says that "If $XDG_RUNTIME_DIR
is not set applications should fall back to a replacement directory
with similar capabilities and print a warning message."
Currently we abort if XDG_RUNTIME_DIR is not set. The following patches
fall back to ~/.cache, as