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:02 +0000 (16:02 -0400)
commit04135dbd279d3d0de6a6527b9b933e59de5cb495
tree1f3f9b0da33b3b279e73119243f76a192d5c3b3d
parentd98ad589cd758f4a3167fb451a6e45d167b42942
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.026101 seconds and 5 git commands to generate.