Fix: add a get HOME dir fallback to getpwuid
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:02:58 +0000 (16:02 -0400)
commit2101421cdf939affdea623f6f49d0ea2555788de
tree5e6dc63f1784a89a719decbed05f4aff71924f7b
parent2855bc45d6b7952133389c480f1397592f08dde3
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.025126 seconds and 4 git commands to generate.