summaryrefslogtreecommitdiff
path: root/gobject
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2004-09-17 01:41:30 +0000
committerManish Singh <yosh@src.gnome.org>2004-09-17 01:41:30 +0000
commitd8357e2c516663c1b436b43f18827c8ecd3879d5 (patch)
treeb4104f8b207f32e410a91cc71ef9810db6db90c8 /gobject
parent5c7ef4bbcefd86dd356d441dadbf613e1402b822 (diff)
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.
Diffstat (limited to 'gobject')
-rw-r--r--gobject/.cvsignore1
-rw-r--r--gobject/ChangeLog5
-rwxr-xr-xgobject/abicheck.sh2
3 files changed, 7 insertions, 1 deletions
diff --git a/gobject/.cvsignore b/gobject/.cvsignore
index f8d6d1d19..2654bd94c 100644
--- a/gobject/.cvsignore
+++ b/gobject/.cvsignore
@@ -17,6 +17,7 @@ _libs
.libs
libgobject-1.3.la
gobject-query
+gobjectalias.h
gobject.rc
glib-genmarshal
glib-mkenums
diff --git a/gobject/ChangeLog b/gobject/ChangeLog
index 3b9e59298..9ef951a2d 100644
--- a/gobject/ChangeLog
+++ b/gobject/ChangeLog
@@ -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+:
diff --git a/gobject/abicheck.sh b/gobject/abicheck.sh
index 9d497329a..64e39736e 100755
--- a/gobject/abicheck.sh
+++ b/gobject/abicheck.sh
@@ -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