Opened 11 years ago

Closed 3 months ago

#1692 closed enhancement (fixed)

BDirectory::GetNextEntry() don't unset "entry"

Reported by: anthonylee Owned by: nobody
Priority: normal Milestone: R1
Component: Kits/Storage Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


Though BeBook has no expression on that, but R5's BDirectory::GetNextEntry(BEntry *entry) unset the "entry" when it return B_ENTRY_NOT_FOUND.

Attachments (1)

BDirectory_GetNextEntry.diff (380 bytes) - added by anthonylee 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by anthonylee

comment:1 Changed 11 years ago by axeld

Do you have an application that does not behave correctly without this change? I don't think clobbering arguments is that nice when the method actually fails to get the next entry (but I wouldn't mind if that actually proves to be a problem).

comment:2 Changed 9 years ago by axeld

Owner: changed from axeld to nobody
Version: R1/pre-alpha1R1/Development

comment:3 Changed 3 months ago by waddlesplash

Resolution: fixed
Status: newclosed

Fixed in hrev52650.

Note: See TracTickets for help on using tickets.