[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #27008] NSNextMapEnumeratorPair() in NSConcreteMapTable treats C-ty
From: |
Niels Grewe |
Subject: |
[bug #27008] NSNextMapEnumeratorPair() in NSConcreteMapTable treats C-types as objects |
Date: |
Fri, 10 Jul 2009 22:28:05 +0000 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/4.2) KHTML/4.2.4 (like Gecko) |
URL:
<http://savannah.gnu.org/bugs/?27008>
Summary: NSNextMapEnumeratorPair() in NSConcreteMapTable
treats C-types as objects
Project: GNUstep
Submitted by: thebeing
Submitted on: Fr 10 Jul 2009 22:28:03 GMT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Hello,
I just experienced some wiredness with NSMapTable. NSNextMapEnumeratorPair()
seems to fail on lines #870 and 886 of NSConcreteMapTable.m (r. The
incriminated lines read:
id k = [(NSEnumerator*)enumerator->node nextObject];
and
*value = [(NSMapTable*)enumerator->bucket objectForKey: k];
respectively. From what I gather, it doesn't make sense here to treat these
as objects ('node' in the _GSIMapEnumerator struct is a GSIMapNode structure
and 'bucket' is size_t). My own attempts at fixing this failed because I
obviously don't grok GSIMap ;-)
I hope that I've diagnosed the problem correctly. If you need any further
information, please ask.
kind regards,
Niels
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27008>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
- [bug #27008] NSNextMapEnumeratorPair() in NSConcreteMapTable treats C-types as objects,
Niels Grewe <=