[haiku-bugs] [Haiku] #11100: find_path does not work for binaries outside package mount points

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Mon, 04 Aug 2014 12:41:05 -0000

#11100: find_path does not work for binaries outside package mount points
------------------------------+------------------------------
 Reporter:  pulkomandy        |        Owner:  axeld
     Type:  enhancement       |       Status:  new
 Priority:  normal            |    Milestone:  R1
Component:  Kits/Storage Kit  |      Version:  R1/Development
 Keywords:                    |   Blocked By:
 Blocking:                    |  Has a Patch:  0
 Platform:  All               |
------------------------------+------------------------------
 Trying to use find_path from a binary or library (passing a symbol to
 identify the image) always returns "no such file or directory". This means
 software needs to be special-cased for "installed"/"not installed" cases,
 with no clear way on how to handle the latter.

 I'm not sure what the proper path to return would be, however. Maybe one
 of:
 - Use system/non-packaged
 - Use a path relative to the given image location (so the app can be
 tested in its build directory)

--
Ticket URL: <https://dev.haiku-os.org/ticket/11100>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts:

  • » [haiku-bugs] [Haiku] #11100: find_path does not work for binaries outside package mount points - pulkomandy