* Moved the syscalls into the FSShell namespace, so that they don't

collide with the functions defined in libroot_build.so.
* On BeOS incompatible platforms fssh_open() and fssh_close() use the
  libroot_build.so _kern_open() and _kern_close() respectively, so that the
  attribute support works also when using the generic attribute
  emulation.
* Use fssh_open()/fssh_close() instead of open()/close() for the cp
  command, so that we get attribute support on BeOS incompatible
  platforms when the generic attribute emulation is used.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20980 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2007-05-02 16:59:10 +00:00
parent d4c02c0171
commit 19d7a2a162
7 changed files with 94 additions and 56 deletions
+1 -6
View File
@@ -4551,16 +4551,10 @@ err:
}
} // namespace FSShell
// #pragma mark -
// Calls from within the kernel
using namespace FSShell;
fssh_dev_t
_kern_mount(const char *path, const char *device, const char *fsName,
uint32_t flags, const char *args, fssh_size_t argsLength)
@@ -5208,3 +5202,4 @@ _kern_initialize_volume(const char* fsName, const char *partition,
return status;
}
} // namespace FSShell