Fix: add a get HOME dir fallback to getpwuid stable-2.3
authorDavid Goulet <dgoulet@efficios.com>
Thu, 10 Jul 2014 20:02:02 +0000 (16:02 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 10 Jul 2014 20:03:06 +0000 (16:03 -0400)
commitf9f2ab0be222f3d5230786ca726278eb34e2e4ed
treed9555d29da80587d705e3898e084acbaf174673c
parenta5a2d0c25460639304b9bd3991d874774553a39c
Fix: add a get HOME dir fallback to getpwuid

If the $HOME or $LTTNG_HOME is not defined, fallback on getpwuid(3) of
the process uid.

Fixes #815

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/utils.c
This page took 0.025974 seconds and 4 git commands to generate.