Opened 10 years ago

Closed 10 years ago

#3773 closed bug (fixed)

Incompatibility with respect to absolute entry_refs

Reported by: zooey Owned by: zooey
Priority: normal Milestone: R1
Component: Kits/Storage Kit Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

A recent test with the Locale Kit has exposed an incompatibility between haiku and R5 with respect to the handling of entry_refs that contain absolute names.

When running the enclosed test program on R5, it shows that everything except creating a BFile from a BDirectory and an absolute path is supported (actually in contrast to what's stated in the BeBook).

On haiku, creating a BEntry or a BFile from an entry-ref containing an absolute name does not work. For the sake of binary compatibility, I think this should be fixed.

Attachments (1)

entry_ref.cpp (1.8 KB) - added by zooey 10 years ago.
test program checking a couple of different methods to create a BEntry or BFile

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by zooey

Attachment: entry_ref.cpp added

test program checking a couple of different methods to create a BEntry or BFile

comment:1 Changed 10 years ago by zooey

Status: newassigned

comment:2 Changed 10 years ago by zooey

Resolution: fixed
Status: assignedclosed

Adjusted BFile and BEntry accordingly in hrev30183.

Note: See TracTickets for help on using tickets.