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 f8d6d1d19d498fe91fabe4ba483cf4761263fd65..2654bd94c23cc9f3f3d2c0cc91b02e1c6017c982 100644 (file)
@@ -17,6 +17,7 @@ _libs
 .libs
 libgobject-1.3.la
 gobject-query
+gobjectalias.h
 gobject.rc
 glib-genmarshal
 glib-mkenums
index 3b9e592982dcfd8a2889d83c58e2ebd15d05e3a8..9ef951a2dd0f5140d74b62aa3824944b852946b6 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 9d497329adcb9aae200d598ac3f812ab1bbd974b..64e39736e95e757092801974215252a835bcc927 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