[vlc-commits] commit: check_headers: look for leading spaces as well (Srikanth Raju )

git at videolan.org git at videolan.org
Thu Nov 4 20:58:41 CET 2010


vlc | branch: master | Srikanth Raju <srikiraju at gmail.com> | Fri Nov  5 01:43:33 2010 +0530| [3c400ee8c39a157d650cffad3cefe920c2e4893e] | committer: Srikanth Raju 

check_headers: look for leading spaces as well

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

 src/check_headers |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/check_headers b/src/check_headers
index 734ad1e..0e13920 100755
--- a/src/check_headers
+++ b/src/check_headers
@@ -9,7 +9,7 @@ regexp="$(cat ../config.h.in | \
 	sed -n -e 's/^#undef \([A-Z0-9_]*\)$/\1/p' | \
 	grep -v 'WORDS_BIGENDIAN' | \
 	xargs | \
-    sed -e 's/ /\\\| /g' | sed -e 's/\\|/\$\\|/g')"
+    sed -e 's/ /\\\(\\s\\\|$\\\)\\\| /g')"
 regexp=" $regexp\$"
 
 echo Looking for private defines in public headers...



More information about the vlc-commits mailing list