Hello Meelis, * Meelis Roos <[EMAIL PROTECTED]> [2005-03-29 00:23]: > >can you try to get the tarball form www.ngolde.de/yacpi.html > >and remove the srtip call in the Makefile? > > Removed strip and added -g to compile options (btw, the Makefile is quite > strange, always recompiles all files and does not have global CFLAGS and > LDFLAGS). > > The crash comes from the line > > if (binfo->charge_state == CHARGE) > > binfo == NULL here. > > There is also more error handling missing, like failing malloc() is not > checked at all. Always check the returv values of system calls and > important library calls!
ok i will have a look. i you have the time, patches are welcome ;) regards and thanks nico -- Nico Golde - [EMAIL PROTECTED] | GPG: 1024D/73647CFF http://www.ngolde.de | http://www.muttng.org | http://grml.org VIM has two modes - the one in which it beeps and the one in which it doesn't -- encrypted mail preferred
pgpvbXkN7FwtX.pgp
Description: PGP signature