vlc | branch: master | Alexis Ballier <aball...@gentoo.org> | Fri Apr  5 
18:09:52 2013 +0300| [0eb725b018f441881706517c19fb8fa33ef7ccbe] | 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 <r...@remlab.net>

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

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

diff --git a/src/check_headers b/src/check_headers
index 63b009f..d0b4bb7 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 'UNICODE' | \
        grep -v '__LIBVLC__' | \

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to