summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
authorAjay Dudani <adudani@quicinc.com>2010-04-13 07:06:41 -0700
committerQuIC Gerrit Code Review <gerrit@quicinc.com>2010-04-13 07:06:41 -0700
commitfc71aefd42ffdd717cbb4aac745cc89027c53574 (patch)
tree8861db09686af9803c1e7fa206f7500ea48e429c /libc
parent6d64f88a498ac719467f5e2c6fe01373e99e7e67 (diff)
parenta5ad99298c579b8c6baf5d21bf8afb7b5fd1841e (diff)
downloadbionic-fc71aefd42ffdd717cbb4aac745cc89027c53574.zip
bionic-fc71aefd42ffdd717cbb4aac745cc89027c53574.tar.gz
bionic-fc71aefd42ffdd717cbb4aac745cc89027c53574.tar.bz2
Merge "system_property: Trade off 21 property entries for +12 value length" into eclair
Diffstat (limited to 'libc')
-rw-r--r--libc/include/sys/_system_properties.h4
-rw-r--r--libc/include/sys/system_properties.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/libc/include/sys/_system_properties.h b/libc/include/sys/_system_properties.h
index 42a7f6c..a21a561 100644
--- a/libc/include/sys/_system_properties.h
+++ b/libc/include/sys/_system_properties.h
@@ -42,8 +42,8 @@ typedef struct prop_msg prop_msg;
#define PROP_SERVICE_NAME "property_service"
-/* #define PROP_MAX_ENTRIES 247 */
-/* 247 -> 32620 bytes (<32768) */
+/* #define PROP_MAX_ENTRIES 226 */
+/* 226 -> 32664 bytes (<32768) */
#define TOC_NAME_LEN(toc) ((toc) >> 24)
#define TOC_TO_INFO(area, toc) ((prop_info*) (((char*) area) + ((toc) & 0xFFFFFF)))
diff --git a/libc/include/sys/system_properties.h b/libc/include/sys/system_properties.h
index 2eb00cd..1b14570 100644
--- a/libc/include/sys/system_properties.h
+++ b/libc/include/sys/system_properties.h
@@ -32,7 +32,7 @@
typedef struct prop_info prop_info;
#define PROP_NAME_MAX 32
-#define PROP_VALUE_MAX 92
+#define PROP_VALUE_MAX 104
/* Look up a system property by name, copying its value and a
** \0 terminator to the provided pointer. The total bytes