Fixing bug with records sometimes unnecessarily coerced on assignment.

This commit is contained in:
Robin Sommer 2011-04-17 10:42:51 -07:00
parent 1cbde793d8
commit 58f86ae55d
4 changed files with 16 additions and 3 deletions

View file

@ -1504,8 +1504,8 @@ int same_attrs(const Attributes* a1, const Attributes* a2)
if ( ! a1 )
return (a2 == 0);
if ( a2 )
return 0;
if ( ! a2 )
return (a1 == 0);
return (*a1 == *a2);
}