Opened 12 years ago

Closed 11 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 12 years ago.

Download all attachments as: .zip

Change History (4)

by anthonylee, 12 years ago

comment:1 by axeld, 12 years ago

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 by axeld, 10 years ago

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

comment:3 by waddlesplash, 11 months ago

Resolution: fixed
Status: newclosed

Fixed in hrev52650.

Note: See TracTickets for help on using tickets.