History log of /haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/compat.h
Revision Date Author Comments
# bc3955fe 23-Oct-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Preparations for removing __BEOS__ from the compiler defines.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28305 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 69b1f76d 29-Nov-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

FreeBSD build platform support. Original patches courtesy of
Samuel Rodriguez Perez, somewhat hacked by myself.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19392 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 338b8dc3 29-Oct-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Merged changes from branch build_system_redesign at revision 14573.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3380da1e 09-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Another small improvement to how things build as suggested by Ingo.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11631 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7f67a70c 07-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Now builds under Dano/Zeta as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11619 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7d0617a8 06-Mar-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Er, the last change was quite wrong. Correctly define O_NOTRAVERSE to O_NOFOLLOW, if available.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11596 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 875d8901 06-Mar-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

O_NOTRAVERSE is called O_NOFOLLOW under Linux.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11593 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3eb4c2e0 05-Mar-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

We also need to take care of the open flags, seek constants and the
BeOS specific structure attr_info (it contains an off_t).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11583 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d139bc98 03-Mar-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

The st_rdev field was missing in our my_stat structure, so it wasn't binary compatible with R5 struct stat.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11570 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e6f30103 03-Mar-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

A whole bunch of changes to make the fs_shell build (and work) under
Linux:
* Corrected use of error code. We consequently use the errors we
defined to be compatible with BeOS and translate error code to and from
the build platform where necessary.
* Consequently use the structs my_stat and my_dirent and the type
fs_off_t when dealing with the guest FS. my_dirent had to be adjusted
to be BeOS compatible.
We wrap the platform fstat() now to translate the struct stat to the
BeOS representation.
* Fixed a bug introduced with the last checkin: The fs_shell crashed after
executing a command.
* Fixed printf() format warnings under Linux.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11565 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 371536a1 07-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Cleaned up C++/C separation.
Changed some return types from "int" to "status_t" to make it compatible
with the new VFS interface (should not cause any trouble).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7818 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9767c7be 19-Mar-2003 Axel Dörfler <axeld@pinc-software.de>

Added my updated version of Dominic's fsh.
Doesn't build as-is - the makefile is only provided as an example, if it
is used by file systems in the repository, they should build it in their
own test directories.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2961 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bc3955fea5b07e2e94a27fc05e4bb58fe6f0319b 23-Oct-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Preparations for removing __BEOS__ from the compiler defines.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28305 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 69b1f76d66e7870cd9a0be8c4cf13b945dfad743 29-Nov-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

FreeBSD build platform support. Original patches courtesy of
Samuel Rodriguez Perez, somewhat hacked by myself.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19392 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 338b8dc301721b1f472e8297a898d4eaa2f2ee3a 29-Oct-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Merged changes from branch build_system_redesign at revision 14573.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3380da1e1fab685c979f8aea0f2cf0de71fa7a32 09-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Another small improvement to how things build as suggested by Ingo.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11631 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7f67a70cfe3386a862a7b50090ca8cf79f6b5d8b 07-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Now builds under Dano/Zeta as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11619 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7d0617a836b33010a6cab9a5df6534ba2202e51f 06-Mar-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Er, the last change was quite wrong. Correctly define O_NOTRAVERSE to O_NOFOLLOW, if available.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11596 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 875d890122a5066026c0cce10c4035d6ecddd99f 06-Mar-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

O_NOTRAVERSE is called O_NOFOLLOW under Linux.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11593 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3eb4c2e0cdbce0d3b9b22e4cfdfc1e98fb7b5ae8 05-Mar-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

We also need to take care of the open flags, seek constants and the
BeOS specific structure attr_info (it contains an off_t).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11583 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d139bc986ac1408c096097ac70a30f9eabefd084 03-Mar-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

The st_rdev field was missing in our my_stat structure, so it wasn't binary compatible with R5 struct stat.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11570 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e6f30103366b51835df4c7d4125ba5c832e8bac7 03-Mar-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

A whole bunch of changes to make the fs_shell build (and work) under
Linux:
* Corrected use of error code. We consequently use the errors we
defined to be compatible with BeOS and translate error code to and from
the build platform where necessary.
* Consequently use the structs my_stat and my_dirent and the type
fs_off_t when dealing with the guest FS. my_dirent had to be adjusted
to be BeOS compatible.
We wrap the platform fstat() now to translate the struct stat to the
BeOS representation.
* Fixed a bug introduced with the last checkin: The fs_shell crashed after
executing a command.
* Fixed printf() format warnings under Linux.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11565 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 371536a11d0e7a52ae3b5f016ff8ccdbdc68f9cc 07-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Cleaned up C++/C separation.
Changed some return types from "int" to "status_t" to make it compatible
with the new VFS interface (should not cause any trouble).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7818 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9767c7befda3de757bb92286d61f15d842c9145b 19-Mar-2003 Axel Dörfler <axeld@pinc-software.de>

Added my updated version of Dominic's fsh.
Doesn't build as-is - the makefile is only provided as an example, if it
is used by file systems in the repository, they should build it in their
own test directories.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2961 a95241bf-73f2-0310-859d-f6bbb57e9c96