[examples-v2 commit] fat_ramdisk: define POSIX keys number
Gedare Bloom
gedare at rtems.org
Wed Apr 13 16:03:47 UTC 2016
Module: examples-v2
Branch: master
Commit: d8d8a9c1a19b62d9c8cba237cea3d92fc2cd92d8
Changeset: http://git.rtems.org/examples-v2/commit/?id=d8d8a9c1a19b62d9c8cba237cea3d92fc2cd92d8
Author: Peng Fan <van.freenix at gmail.com>
Date: Wed Apr 13 13:25:11 2016 +0800
fat_ramdisk: define POSIX keys number
define POSIX KEYS and PAIRS to 16, otherwise met:
"
pthread_setspecific(shell_current_env_key)
"
---
filesystem/fat_ramdisk/init.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/filesystem/fat_ramdisk/init.c b/filesystem/fat_ramdisk/init.c
index 2fff705..62721f1 100644
--- a/filesystem/fat_ramdisk/init.c
+++ b/filesystem/fat_ramdisk/init.c
@@ -130,6 +130,9 @@ rtems_task Init(
/* configuration */
+#define CONFIGURE_MAXIMUM_POSIX_KEYS 16
+#define CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS 16
+
#define CONFIGURE_SHELL_COMMANDS_INIT
#define CONFIGURE_SHELL_COMMANDS_ALL
#define CONFIGURE_SHELL_MOUNT_MSDOS
More information about the vc
mailing list