Re: [Evolution] Empty contacts / messing with the database

Not sure, but that sounds kinda familiar to what I just came across:

Chris Toshok wrote:
[...] I suggest you don't create/modify
addressbook.db entries using straight perl modifying the file's
internals.  Going through the wombat is really the better way to do
this, since you'll get notification if things have changed [...]

I can't tell why I shouldn't do this. The format of the file is very
unlikely to change (vCards in Berkeley DB) and it should work.

AFAIK editing that database can be dangerous, cause Evo uses some
client/server backend. For more in depth info you should ask the

Those servers still holding the data when Evo is closed even is the
reason for 'killev' before copying your data files. Data can still be in
memory and not synced to disk.


char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]