[cairo-commit] src/check-def.sh

Behdad Esfahbod behdad at kemper.freedesktop.org
Tue Sep 19 10:05:36 PDT 2006


 src/check-def.sh |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 42a0c6bd59e41c22a88386b389af36f37418de82 (from ae355453d849f870fc67cae0442db49548df0103)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Tue Sep 19 13:05:29 2006 -0400

    check-def.sh: Only allow _cairo_.*_test_.* symbols, not all _cairo.* ones

diff --git a/src/check-def.sh b/src/check-def.sh
index 9417dbe..3545851 100755
--- a/src/check-def.sh
+++ b/src/check-def.sh
@@ -22,7 +22,7 @@ for def in $defs; do
 
 	{
 		echo EXPORTS
-		nm $so | grep ' T ' | cut -d' ' -f3 | grep -v '^_cairo\|^_fini\|^_init' | sort -u
+		nm $so | grep ' T ' | cut -d' ' -f3 | grep -v '^_cairo.*_test_\|^_fini\|^_init' | sort -u
 		# cheat: copy the last line from the def file!
 		tail -n1 $def
 	} | diff $def - || status=1


More information about the cairo-commit mailing list