#9625: Incorrect KPath use in VFS where NULL paths are allowed
-----------------------------+----------------------------
Reporter: bonefish | Owner: axeld
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: System/Kernel | Version: R1/Development
Resolution: | Keywords: vfs
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-----------------------------+----------------------------
Comment (by axeld):
Wouldn't it make more sense to have KPath not allocate a buffer in case it
was constructed with a NULL path by default, and therefore also return
NULL as path itself?
That would simplify the code in the VFS quite a bit, at least.
--
Ticket URL: <https://dev.haiku-os.org/ticket/9625#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.