Alexander Malysh wrote: > > Hi Stipe, > > i hope not ;) > It's pretty simple. You use in your test rand. The rand can not generate > really unique keys. So if you key equal one which already stored in the dict > , then old key will be overwritten with new one. Key _must_ be always unique. > Just try attached patch for ur test_dict.c...
ooops, good hint Alex!!! Stipe [EMAIL PROTECTED] ------------------------------------------------------------------- Wapme Systems AG Vogelsanger Weg 80 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: [EMAIL PROTECTED] Internet: http://www.wapme-systems.de ------------------------------------------------------------------- wapme.net - wherever you are