Re: [PATCH] socket-test: don't try to be clever, fail if no XDG_RUNTIME_DIR is set

2012-08-14 Thread Kristian Høgsberg
On Tue, Aug 14, 2012 at 11:53:08AM +0200, Philipp Brüschweiler wrote: > Not only setenv(), also putenv() allocates memory on my system > (glibc 2.16.0). Just fail with a clear message if XDG_RUNTIME_DIR is > not set. Yeah, lets just require this. Kristian > https://bugs.freedesktop.org/show_bug.

[PATCH] socket-test: don't try to be clever, fail if no XDG_RUNTIME_DIR is set

2012-08-14 Thread Philipp Brüschweiler
Not only setenv(), also putenv() allocates memory on my system (glibc 2.16.0). Just fail with a clear message if XDG_RUNTIME_DIR is not set. https://bugs.freedesktop.org/show_bug.cgi?id=52618 --- tests/socket-test.c | 21 ++--- 1 Datei geändert, 10 Zeilen hinzugefügt(+), 11 Zeilen