Bug#553174: libphysfs: Fails if $HOME doesn't exist

Jordà Polo jorda at ettin.org
Mon Nov 2 10:02:06 UTC 2009


On Sun, Nov 01, 2009 at 05:37:29PM +0100, Patrick Matthäi wrote:
> what else should be expected if $HOME is defined but not accessable?

What I meant to say is that there is no need to abort the initialization
if the directory pointed by $HOME doesn't exist; it is possible to write
PhysicsFS-based applications that don't use $HOME at all.

What is so special about $HOME that PhysicsFS needs to check (only)
whether it exists or not? Note that the initialization works perfectly
fine if $HOME is _not_ defined, or if $HOME exists but is _not_
readable/writeable, so I would expect the same behaviour if $HOME
doesn't exist.

(Besides, ensuring the existence of $HOME during the initialization
doesn't guarantee that it will be present later on... What if someone
removes it after launching and initializing the program?)





More information about the Pkg-games-devel mailing list