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:03:02 +0000 (16:03 -0400)
commit7f2739856bdccc5cb38595e9b4cf912e8661ebff
treec7ee7b4335513829f3d2ee338ba0f3778d1e4450
parentd0c66a34ba4c0e20b3af0f81761099b6b6a9adc1
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.026321 seconds and 4 git commands to generate.