Follow-up Comment #2, bug #28158 (project gnustep):

Whatever you changed seemed to fix one of my tests, but it's still broken. It
appears that this GSUnicodeInlineString's _contents.c are incorrect, so it
doesn't compare as equal to the other string.

Stepping through in gdb, at line 2161 in GSString.m I see this:

(gdb) po [anObject class]
GSUnicodeInlineString
(gdb) p (GSUnicodeInlineString *)anObject
$6 = (class GSUnicodeInlineString *) 0x8417748
(gdb) p *$6
$7 = {{{{{isa = 0xb7d7f720}}, _contents = {u = 0x8417758, c = 0x8417758 "c"},
_count = 3, _flags = {wide = 1, 
        owned = 1, unused = 0, hash = 111128}}}}
(gdb) p $6._contents.c
$8 = (unsigned char *) 0x8417758 "c"
(gdb) p *self
$9 = {{{{isa = 0xb7d7fb40}}, _contents = {u = 0x8417688, c = 0x8417688
"cat"}, _count = 3, _flags = {wide = 0, 
      owned = 1, unused = 0, hash = 111128}}}



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28158>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to