From 793acc0f2db88078bc4c54c95156c75b3dfbda5e Mon Sep 17 00:00:00 2001 From: Vincent Bénony Date: Wed, 6 Jan 2016 10:19:49 +0100 Subject: IOS: Adds a warning regarding the usage of the ChRootFS class --- backends/fs/chroot/chroot-fs-factory.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'backends/fs/chroot/chroot-fs-factory.h') diff --git a/backends/fs/chroot/chroot-fs-factory.h b/backends/fs/chroot/chroot-fs-factory.h index c7bd9a74a7..23b3c8f44a 100644 --- a/backends/fs/chroot/chroot-fs-factory.h +++ b/backends/fs/chroot/chroot-fs-factory.h @@ -20,8 +20,12 @@ * */ -#ifndef CHROOT_FS_FACTORY_H -#define CHROOT_FS_FACTORY_H +/* + * FIXME: Warning, using this factory in your backend may silently breaks some features. Instances are, for example, the FluidSynth code, and the POSIX plugin code. + */ + +#ifndef BACKENDS_FS_CHROOT_CHROOT_FS_FACTORY_H +#define BACKENDS_FS_CHROOT_CHROOT_FS_FACTORY_H #include "backends/fs/fs-factory.h" @@ -38,4 +42,4 @@ public: ChRootFilesystemFactory(Common::String root); }; -#endif /* CHROOT_FS_FACTORY_H */ +#endif /* BACKENDS_FS_CHROOT_CHROOT_FS_FACTORY_H */ -- cgit v1.2.3