[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r3118 - in /trunk/libc: ChangeLog.eglibc option-groups.def option-groups.defaults string/Makefile
- To: commits@xxxxxxxxxx
- Subject: [commits] r3118 - in /trunk/libc: ChangeLog.eglibc option-groups.def option-groups.defaults string/Makefile
- From: jimb@xxxxxxxxxx
- Date: Sat, 11 Aug 2007 08:13:21 -0000
Author: jimb
Date: Sat Aug 11 01:13:20 2007
New Revision: 3118
Log:
Implement the OPTION_EGLIBC_ENVZ option group.
* option-groups.def (OPTION_EGLIBC_ENVZ): New entry.
* option-groups.defaults (OPTION_EGLIBC_ENVZ): Initialize
* string/Makefile (routines, tests): Put the envz routines and the
bug-envz1 test in the group.
Modified:
trunk/libc/ChangeLog.eglibc
trunk/libc/option-groups.def
trunk/libc/option-groups.defaults
trunk/libc/string/Makefile
Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Sat Aug 11 01:13:20 2007
@@ -1,3 +1,12 @@
+2007-08-11 Jim Blandy <jimb@xxxxxxxxxxxxxxxx>
+
+ Implement the OPTION_EGLIBC_ENVZ option group.
+
+ * option-groups.def (OPTION_EGLIBC_ENVZ): New entry.
+ * option-groups.defaults (OPTION_EGLIBC_ENVZ): Initialize
+ * string/Makefile (routines, tests): Put the envz routines and the
+ bug-envz1 test in the group.
+
2007-08-05 Daniel Jacobowitz <dan@xxxxxxxxxxxxxxxx>
Backport:
Modified: trunk/libc/option-groups.def
==============================================================================
--- trunk/libc/option-groups.def (original)
+++ trunk/libc/option-groups.def Sat Aug 11 01:13:20 2007
@@ -114,7 +114,22 @@
WCHAR_T - EGLIBC's internal form (target-endian,
32-bit ISO 10646)
-
+
+config OPTION_EGLIBC_ENVZ
+ bool "Functions for handling envz-style environment vectors."
+ help
+ This option group contains functions for creating and operating
+ on envz vectors. An "envz vector" is a vector of strings in a
+ contiguous block of memory, where each element is a name-value
+ pair, and elements are separated from their neighbors by null
+ characters.
+
+ This option group includes the following functions:
+
+ envz_add envz_merge
+ envz_entry envz_remove
+ envz_get envz_strip
+
config OPTION_EGLIBC_INET
bool "Networking support"
help
Modified: trunk/libc/option-groups.defaults
==============================================================================
--- trunk/libc/option-groups.defaults (original)
+++ trunk/libc/option-groups.defaults Sat Aug 11 01:13:20 2007
@@ -10,6 +10,7 @@
# By default, all option groups are enabled.
OPTION_EGLIBC_CATGETS = y
OPTION_EGLIBC_CHARSETS = y
+OPTION_EGLIBC_ENVZ = y
OPTION_EGLIBC_INET = y
OPTION_EGLIBC_LIBM = y
OPTION_EGLIBC_LOCALES = y
Modified: trunk/libc/string/Makefile
==============================================================================
--- trunk/libc/string/Makefile (original)
+++ trunk/libc/string/Makefile Sat Aug 11 01:13:20 2007
@@ -40,9 +40,11 @@
$(addprefix argz-,append count create ctsep next \
delete extract insert stringify \
addsep replace) \
- envz basename \
+ basename \
strcoll_l strxfrm_l string-inlines memrchr \
xpg-strerror strerror_l
+
+routines-$(OPTION_EGLIBC_ENVZ) += envz
# Gcc internally generates calls to unbounded memcpy and memset
# for -fbounded-pointer compiles. Glibc uses memchr for explicit checks.
@@ -56,7 +58,8 @@
bug-strncat1 bug-strspn1 bug-strpbrk1 tst-bswap \
tst-strtok tst-strfry \
bug-strtok1 $(addprefix test-,$(strop-tests)) \
- bug-envz1 tst-strxfrm2
+ tst-strxfrm2
+tests-$(OPTION_EGLIBC_ENVZ) += bug-envz1
tests-$(OPTION_EGLIBC_LOCALE_CODE) \
+= tst-strxfrm bug-strcoll1
distribute := memcopy.h pagecopy.h tst-svc.expect test-string.h