module/battery: using a static buffer in readline_from_fd() isn’t thread safe

This commit is contained in:
Daniel Eklöf 2022-12-26 19:54:32 +01:00
parent 2283647fc7
commit 310c07b03d
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 14 additions and 11 deletions

View file

@ -30,6 +30,7 @@
plugins ([#239][239]).
* Documentation for the `cpu` module; `interval` has been renamed to
`poll-interval` ([#241][241]).
* battery: module was not thread safe.
[239]: https://codeberg.org/dnkl/yambar/issues/239
[241]: https://codeberg.org/dnkl/yambar/issues/241