[haiku-gsoc] locale kit patch : hash_map&plaintext catalog fix

  • From: PulkoMandy <pulkomandy@xxxxxxxxx>
  • To: haiku-gsoc@xxxxxxxxxxxxx
  • Date: Tue, 30 Jun 2009 20:36:06 +0200

Fixes a bug in the plaintext catalog. First make sure we use an uint32
everywhere. Also, insert strings, context and comment when reading
from file, not only the key, as this is necessary to compare the
catkeys (hash collisions can happen). svn insists in saying that
plaintext/Catalog.cpp is still missing from the main tree, not sure
what hapenned there. I think the plaintext folder has some strange
.svn inside and should be cleaned up ?

I'm now back to work on the cross tools...
-- 
Adrien Destugues / PulkoMandy
Elève ingénieur ENSSAT EII1- www.enssat.fr
GSoC student for Haiku - http://haiku-os.org
GrafX2 project team - http://code.google.com/p/grafx2

Other related posts: