732 |
} |
} |
733 |
} |
} |
734 |
|
|
735 |
|
case t_hashtable: |
736 |
|
{ |
737 |
|
unsigned i; |
738 |
|
struct htent *e; |
739 |
|
|
740 |
|
if (x->ht.ht_nent!=y->ht.ht_nent) |
741 |
|
return(FALSE); |
742 |
|
if (x->ht.ht_test!=y->ht.ht_test) |
743 |
|
return(FALSE); |
744 |
|
for (i=0;i<x->ht.ht_size;i++) { |
745 |
|
if (x->ht.ht_self[i].hte_key==OBJNULL) |
746 |
|
continue; |
747 |
|
if (!(e=gethash(x->ht.ht_self[i].hte_key,y)) |
748 |
|
|| !equalp(x->ht.ht_self[i].hte_value,e->hte_value)) |
749 |
|
return(FALSE); |
750 |
|
} |
751 |
|
return(TRUE); |
752 |
|
break; |
753 |
|
} |
754 |
|
|
755 |
case t_pathname: |
case t_pathname: |
756 |
return(equal(x, y)); |
return(equal(x, y)); |
757 |
default: |
default: |