author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | |
Sat, 14 Jun 2008 00:29:05 +0000 (02:29 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Sat, 14 Jun 2008 15:52:37 +0000 (17:52 +0200) | ||
commit | ccf53eef1685e77696fe94d78ca5e20afcb85c7b | |
tree | 59ec2f49bc7655b69de87b3fbba9c8eaed739634 | tree | snapshot |
parent | eef2803d78a4c20da75c03930cd2c4f9b7147976 | commit | diff |
src/common.c: Add end-of-line characters to strsplit()
This fixes plugins that use it to break lines read using fgets()
and forget that "\n" is left at the buffer's end. At least
battery and wireless plugins is affected.
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
This fixes plugins that use it to break lines read using fgets()
and forget that "\n" is left at the buffer's end. At least
battery and wireless plugins is affected.
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/common.c | diff | blob | history |