[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#21392: kpilot crash addressbook
From:       Adriaan de Groot <adridg () sci ! kun ! nl>
Date:       2001-03-04 11:19:23
[Download RAW message or body]

On Saturday 03 March 2001 14:37, you wrote:
> The fixed setting
> unsigned int              fLookupTable [1000];
> in kpilot/addressWidget.h is too small for my address book with 1200+
> entries, causing kpilot to crash on startup. Changing the value to 10000
> fixes the problem, so you probably should - change all this fixed size

OK. I have replaced the fixed-size lookup table with a better list-based 
implementation. Since I don't have 1200 addresses in *my* pilot, could you 
please give this change a try?

Since you mention changing kpilot/addressWidget.h is assume you have some CVS 
access and aren't afraid to recompile things. Update:

	kpilot/listItems.h
	kpilot/listItems.cc
	kpilot/addressWidget.cc
	kpilot/addressWidget.h
	kpilot/Makefile.am

and recompile. (You could also just update KPilot to the latest CVS version 
and run that, that will give you slightly more changes.) Note that this has 
not been applied to the memo viewer yet, so if you have 1000+ memos you have 
the same problem.

--  
[ade] at home: adridg@sci.kun.nl
Probably hacking at KPilot for KDE2.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic