Fix: getenv can return null
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 30 Apr 2019 23:09:24 +0000 (19:09 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 1 May 2019 14:31:20 +0000 (10:31 -0400)
commit0731b11e5e0022379ca462b574743197c48cfa25
tree3aebdf10898ad061bed045da2116f6dd1e8ffa3e
parent5430c50db082463051ecf8a1327356c998885172
Fix: getenv can return null

On system with LANG not defined getenv will return null.

An example of such system is the lava runner used by ci.lttng.org.

https://ci.lttng.org/view/System%20Tests/

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/time.c
This page took 0.02503 seconds and 4 git commands to generate.