don't hardcode lengths for cut, instead split on the third field.

Thu Sep 16 18:42:46 2004  Manish Singh  <yosh@gimp.org>

        * abicheck.sh: don't hardcode lengths for cut, instead split on
        the third field.
This commit is contained in:
Manish Singh 2004-09-17 01:41:30 +00:00 committed by Manish Singh
parent 5c7ef4bbce
commit d8357e2c51
3 changed files with 7 additions and 1 deletions

View File

@ -17,6 +17,7 @@ _libs
.libs
libgobject-1.3.la
gobject-query
gobjectalias.h
gobject.rc
glib-genmarshal
glib-mkenums

View File

@ -1,3 +1,8 @@
Thu Sep 16 18:42:46 2004 Manish Singh <yosh@gimp.org>
* abicheck.sh: don't hardcode lengths for cut, instead split on
the third field.
2004-09-16 Matthias Clasen <mclasen@redhat.com>
Implement the same PLT reduction technique used in GTK+:

View File

@ -1,5 +1,5 @@
#! /bin/sh
cpp -P -DG_OS_UNIX -DINCLUDE_INTERNAL_SYMBOLS ${srcdir:-.}/gobject.symbols | sed -e '/^$/d' | sort > expected-abi
nm -D .libs/libgobject-2.0.so | grep " T " | cut -c12- | sort > actual-abi
nm -D .libs/libgobject-2.0.so | grep " T " | cut -d ' ' -f 3 | sort > actual-abi
diff -u expected-abi actual-abi && rm expected-abi actual-abi