don't hardcode lengths for cut, instead split on the third field.
authorManish Singh <yosh@gimp.org>
Fri, 17 Sep 2004 01:41:30 +0000 (01:41 +0000)
committerManish Singh <yosh@src.gnome.org>
Fri, 17 Sep 2004 01:41:30 +0000 (01:41 +0000)
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.

gobject/.cvsignore
gobject/ChangeLog
gobject/abicheck.sh

index f8d6d1d..2654bd9 100644 (file)
@@ -17,6 +17,7 @@ _libs
 .libs
 libgobject-1.3.la
 gobject-query
+gobjectalias.h
 gobject.rc
 glib-genmarshal
 glib-mkenums
index 3b9e592..9ef951a 100644 (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+:
index 9d49732..64e3973 100755 (executable)
@@ -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