That's a pretty confusing looking for loop construct. You can get
the same behavior out of this:
while( object = IOIteratorNext(iter) )
It freaks me out that you have IOIteratorNext() in that first
arguent to the for loop.
otherwise the for loop would never be entered at all
I don't know anything about how and when each of the 3 expressions
in the for loop is executed behind the scenes in compiler-land, but
what you're doing scares me :)
well i think the code you suggested is completely equivalent to mine
but i will try to determine if the crash still occurs using your
version...
thanks, julian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden