Ticket #1692 (new enhancement)

Opened 9 months ago

Last modified 9 months ago

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

Reported by: anthonylee Owned by: axeld
Priority: normal Milestone: R1
Component: Kits/Storage Kit Version: R1 development
Cc: Blocked By:
Platform: All Blocking:

Description

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

BDirectory_GetNextEntry.diff (380 bytes) - added by anthonylee 9 months ago.

Change History

Changed 9 months ago by anthonylee

Changed 9 months 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).

Note: See TracTickets for help on using tickets.