[vlc-commits] check_headers: fix regular expression

Alexis Ballier git at videolan.org
Fri Apr 5 17:17:11 CEST 2013


vlc/vlc-2.0 | branch: master | Alexis Ballier <aballier at gentoo.org> | Fri Apr  5 18:09:52 2013 +0300| [db9b5f825bdaab3694fdc3b9d7c8cf211fb0cb3d] | committer: Rémi Denis-Courmont

check_headers: fix regular expression

This broke depending on the locale (LC_COLLATE).

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
(cherry picked from commit 0eb725b018f441881706517c19fb8fa33ef7ccbe)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=db9b5f825bdaab3694fdc3b9d7c8cf211fb0cb3d
---

 src/check_headers |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/check_headers b/src/check_headers
index 2167f80..31bfa23 100755
--- a/src/check_headers
+++ b/src/check_headers
@@ -6,7 +6,7 @@ cd "$(dirname "$0")" || exit $?
 # Look for configure #defines in public headers.
 # There are incorrect, as external users don't have our <config.h>.
 regexp="$(cat ../config.h.in | \
-	sed -n -e 's/^#undef \([A-Z0-9_]*\)$/\1/p' | \
+	sed -n -e 's/^#undef \([[:upper:][:digit:]_]*\)$/\1/p' | \
 	grep -v 'WORDS_BIGENDIAN' | \
 	grep -v '__LIBVLC__' | \
 	xargs | \



More information about the vlc-commits mailing list