From dccf02639761128816fdf5a8c331ad4ee8575ba7 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 3 Jan 2004 16:26:14 +0000 Subject: [PATCH] Updated the item about BDirectory::Contains(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5883 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- docs/develop/storage/Annotations | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/develop/storage/Annotations b/docs/develop/storage/Annotations index 3b430db76b..3ebcaa2344 100644 --- a/docs/develop/storage/Annotations +++ b/docs/develop/storage/Annotations @@ -163,17 +163,21 @@ Location: FindEntry() Description: Crashs when passing a NULL BEntry. -OS: BeOS R5 +OS: BeOS R5 (OBOS) Module: BDirectory -Location: Contains() -Description: If the BDirectory is uninitialized, the const char* version - returns true for existing entries, whereas the const BEntry* - version returns false. +Location: Contains(const char*, int32) +Description: If the supplied path is absolute and refers to an existing + entry, true is returned, even if the directory does not contain + the entry or is not even initialized. + (The OBOS implementation makes the behavior more consistent + with the BEntry* version, which returns false when the + directory is not initialized and true only if the directory + actually contains the entry.) OS: BeOS R5 Module: BDirectory -Location: Contains(const BEntry*, bool) +Location: Contains(const BEntry*, int32) Description: Crashs when passing a NULL BEntry.