util.cc: reduce two read_file functions into one (#20655)
* no need to malloc one extra byte * combine two read_file into a faster one * cleanup #include * use resize * apply suggestions from review * space * rebase masterpull/20000/head
parent
eb4666b38f
commit
fe2f63849a
8 changed files with 41 additions and 69 deletions
@ -1,2 +1,2 @@ |
|||||||
Import('env', 'cereal', 'messaging') |
Import('env', 'cereal', 'messaging', 'common') |
||||||
env.Program('proclogd.cc', LIBS=[cereal, messaging, 'pthread', 'zmq', 'capnp', 'kj']) |
env.Program('proclogd.cc', LIBS=[cereal, messaging, 'pthread', 'zmq', 'capnp', 'kj', 'common']) |
||||||
|
Loading…
Reference in new issue