diff options
author | Tom Cherry <tomcherry@google.com> | 2015-05-12 13:54:41 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-05-12 14:18:49 -0700 |
commit | eaa3b4ec6f79fe06163b8dd6fe8ba2581d3b9c0b (patch) | |
tree | 23bfd9a467fa4be2d5eddf7bf706ca72edb84f54 /libutils/Unicode.cpp | |
parent | 7297278ade9de51e63568188782f56e2ad2bcf6b (diff) |
Fix insmod module size
read_file() used to append a new line character to the end of the buffer it
returns, because parse_config() isn't able to cope with input that's not
'\n'-terminated. Fix read_file() to be less insane, and push the workarounds
into the parse_config() callers.
Longer term we should rewrite parse_config().
Change-Id: Ie9d9a7adcd33b66621726aef20c4b8cc51c08be7
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions