From 6b234d7ce4b687912e4778327945c64743db90ea Mon Sep 17 00:00:00 2001 From: Priit Laes Date: Mon, 16 Nov 2009 15:47:57 +0200 Subject: [PATCH] check: fix symbol exporting when building under et_EE locale [A-Z] regexp fails under et_EE locale because Z in Estonian alphabet is located after S and therefore characters starting with 'TUV...' are not in the range anymore. Fixes bug #602093. --- libs/gst/check/Makefile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libs/gst/check/Makefile.am b/libs/gst/check/Makefile.am index 70b2f5f..724d6a6 100644 --- a/libs/gst/check/Makefile.am +++ b/libs/gst/check/Makefile.am @@ -89,16 +89,17 @@ LIBGSTCHECK_EXPORTED_SYMBOLS = \ $(LIBGSTCHECK_EXPORTED_VARS) \ $(LIBGSTCHECK_EXPORTED_FUNCS) +# Please do not even think about changing the alphabet below into A-Za-z. +# It is there for purpose. (Bug #602093) +CHECK_SYMS=`$(SED) -n -e 's/^..*CK_EXPORT[ ]\{1,\}\([_0-9ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]\{1,\}\)..*$$/\1/p' @top_srcdir@/libs/gst/check/libcheck/check.h.in` print-check-symbols: - CHECK_SYMS=`$(SED) -n -e 's/^..*CK_EXPORT[ ]\{1,\}\([_0-9A-Za-z]\{1,\}\)..*$$/\1/p' @top_srcdir@/libs/gst/check/libcheck/check.h.in` ; \ - for s in $$CHECK_SYMS; do \ + for s in $(CHECK_SYMS); do \ echo $$s; \ done; $(SYMBOLS_FILE): - CHECK_SYMS=`$(SED) -n -e 's/^..*CK_EXPORT[ ]\{1,\}\([_0-9A-Za-z]\{1,\}\)..*$$/\1/p' @top_srcdir@/libs/gst/check/libcheck/check.h.in` ; \ rm -f $(SYMBOLS_FILE) 2>/dev/null; \ - for s in $(LIBGSTCHECK_EXPORTED_SYMBOLS) $$CHECK_SYMS; do \ + for s in $(LIBGSTCHECK_EXPORTED_SYMBOLS) $(CHECK_SYMS); do \ echo $$s >> $(SYMBOLS_FILE); \ done -- 2.7.4