diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2017-06-07 19:56:15 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2017-06-22 20:42:44 +0200 |
commit | 3835b6e49975039a9f72b8920238f3141e7becea (patch) | |
tree | e15f492bfcb7c65ba24495c562d6d58998e40a7c /cmake | |
parent | bf534010cb6163bd6ebdef132ee62cccb2b2c9ba (diff) | |
download | liberty-3835b6e49975039a9f72b8920238f3141e7becea.tar.gz liberty-3835b6e49975039a9f72b8920238f3141e7becea.tar.xz liberty-3835b6e49975039a9f72b8920238f3141e7becea.zip |
Improve simple_config_update_from_file()
- considerably shorter
- catch file read errors as we should
- better error messages, now including the filename
- disallow empty keys as they are never used
- allow whitespace before start of comment
NUL characters stop processing now, though. If anyone cares.
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions