so suprise that this bug is not fixed for sooo long.
fixed by just include string.h
so add this line to xbattbar-check-apm.c:
#include
however, even this helps preventing xbattbar from crash, it still won't read
battary status correctly,
but you can pass a script to read the status:
h
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: xbattbar (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/436946
Title:
xb
Problem still appears, program is not usable.
** Attachment added: "Backtrace"
https://bugs.launchpad.net/ubuntu/+source/xbattbar/+bug/436946/+attachment/2142566/+files/backtrace
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
htt
** Attachment added: "CoreDump.gz"
http://launchpadlibrarian.net/32464353/CoreDump.gz
** Attachment added: "Dependencies.txt"
http://launchpadlibrarian.net/32464354/Dependencies.txt
** Attachment added: "Disassembly.txt"
http://launchpadlibrarian.net/32464355/Disassembly.txt
** Attachm