Factor out read_text_file_contents to ensure that data read from text files is a...
authorIgor Peshansky <igorp@google.com>
Thu, 19 Dec 2019 17:12:14 +0000 (12:12 -0500)
committerIgor Peshansky <igorp@google.com>
Thu, 19 Dec 2019 17:12:14 +0000 (12:12 -0500)
commitf7ba1418d1e2f18a53c19d28bb1be71f8f2b5c64
treeedc5d4586402f8491ee3cf80324435f22ed2c39e
parent071568a48ad7b4fff84e40cb0c3c25ef17ab61ae
Factor out read_text_file_contents to ensure that data read from text files is a valid C string.
src/battery.c
src/processes.c
src/thermal.c
src/utils/common/common.c
src/utils/common/common.h