diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-11-28 13:23:38 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-11-28 13:55:48 +0000 |
commit | 4879891da3f5aad8ca525f97be56b780b7df7af9 (patch) | |
tree | 10f15837bcd6d2c7a2029c4962bd3f7aacc86721 /firmware/export/powermgmt.h | |
parent | 420d545018dbb21956b4c441b42c7e4803d95a1d (diff) | |
download | rockbox-4879891da3f5aad8ca525f97be56b780b7df7af9.tar.gz rockbox-4879891da3f5aad8ca525f97be56b780b7df7af9.zip |
x1000-installer: xf_stream_read_lines bugfixes
- Only treat EOF as newline if the line is non-empty to
suppress a useless empty line after the end of a file.
- Deal with 0- and 1-byte line buffers safely.
- Remove whitespace stripping and comment handling which
was left over from refactoring. Move it to xf_map_parse()
where it belongs.
Change-Id: I9f05f4e18ca6dd011ca4cd231f0b5ea37c784778
Diffstat (limited to 'firmware/export/powermgmt.h')
0 files changed, 0 insertions, 0 deletions