haiku/src
Ingo Weinhold 118028674c Fix reading attributes of directories
When reading an attribute of a directory there was no guarantee that the
underlying package would be open. When it wasn't reading an attribute
would fail, unless the attribute data were already cached. The reasons
for this are:
* UnpackingDirectory didn't forward the {Init,Uninit}VFS() calls to the
  underlying PackageDirectory.
* Only PackageFile was actually opening the package in InitVFS().

Now we forward the {Init,Uninit}VFS() calls in all cases -- even in
{Add,Remove}PackageNode(), when the active package node changes -- and
opening/closing the package is now done in
PackageNode::{Init,Uninit}VFS().
2013-06-01 00:32:07 +02:00
..
add-ons Fix reading attributes of directories 2013-06-01 00:32:07 +02:00
apps Merge remote-tracking branch 'haiku/master' into package-management 2013-05-12 23:30:52 +02:00
bin hpkg format: Add attribute for declaring post install scripts 2013-05-25 01:12:37 +02:00
build libroot_build _kern_read_dir(): reset errno before readdir() 2013-05-27 01:05:58 +02:00
data haiku.hpkg package info: zlib is a separate package 2013-05-28 03:30:49 +02:00
documentation Fixed typo. Fixes #8755 2012-07-30 13:12:02 +00:00
kits BPackageInfoContentHandler: Handle new attributes 2013-05-28 02:44:13 +02:00
libs On FreeBSD, "<malloc.h> has been replaced by <stdlib.h>" 2013-05-25 19:41:18 +02:00
preferences Merge branch 'master' into package-management 2013-05-12 00:18:19 +02:00
servers Merge remote-tracking branch 'haiku/master' into package-management 2013-05-12 23:30:52 +02:00
system packagefs: Add caching for the package file heap reader 2013-05-25 01:12:32 +02:00
tests Merge remote-tracking branch 'haiku/master' into package-management 2013-05-12 23:30:52 +02:00
tools Use libbe_build also on Haiku 2013-05-09 18:08:55 +02:00
Jamfile