don't hardcode lengths for cut, instead split on the third field.
authorManish Singh <yosh@gimp.org>
Fri, 17 Sep 2004 01:41:18 +0000 (01:41 +0000)
committerManish Singh <yosh@src.gnome.org>
Fri, 17 Sep 2004 01:41:18 +0000 (01:41 +0000)
Thu Sep 16 18:42:46 2004  Manish Singh  <yosh@gimp.org>

        * glib/abicheck.sh: don't hardcode lengths for cut, instead split on
        the third field.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/abicheck.sh

index 017d1f6..eacc521 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Sep 16 18:42:46 2004  Manish Singh  <yosh@gimp.org>
+
+       * glib/abicheck.sh: don't hardcode lengths for cut, instead split on
+       the third field.
+
 Thu Sep 16 18:15:32 2004  Manish Singh  <yosh@gimp.org>
 
        * glib/gstrfuncs.c (g_strncasecmp): Make it take a guint for number
index 017d1f6..eacc521 100644 (file)
@@ -1,3 +1,8 @@
+Thu Sep 16 18:42:46 2004  Manish Singh  <yosh@gimp.org>
+
+       * glib/abicheck.sh: don't hardcode lengths for cut, instead split on
+       the third field.
+
 Thu Sep 16 18:15:32 2004  Manish Singh  <yosh@gimp.org>
 
        * glib/gstrfuncs.c (g_strncasecmp): Make it take a guint for number
index 017d1f6..eacc521 100644 (file)
@@ -1,3 +1,8 @@
+Thu Sep 16 18:42:46 2004  Manish Singh  <yosh@gimp.org>
+
+       * glib/abicheck.sh: don't hardcode lengths for cut, instead split on
+       the third field.
+
 Thu Sep 16 18:15:32 2004  Manish Singh  <yosh@gimp.org>
 
        * glib/gstrfuncs.c (g_strncasecmp): Make it take a guint for number
index 017d1f6..eacc521 100644 (file)
@@ -1,3 +1,8 @@
+Thu Sep 16 18:42:46 2004  Manish Singh  <yosh@gimp.org>
+
+       * glib/abicheck.sh: don't hardcode lengths for cut, instead split on
+       the third field.
+
 Thu Sep 16 18:15:32 2004  Manish Singh  <yosh@gimp.org>
 
        * glib/gstrfuncs.c (g_strncasecmp): Make it take a guint for number
index 017d1f6..eacc521 100644 (file)
@@ -1,3 +1,8 @@
+Thu Sep 16 18:42:46 2004  Manish Singh  <yosh@gimp.org>
+
+       * glib/abicheck.sh: don't hardcode lengths for cut, instead split on
+       the third field.
+
 Thu Sep 16 18:15:32 2004  Manish Singh  <yosh@gimp.org>
 
        * glib/gstrfuncs.c (g_strncasecmp): Make it take a guint for number
index 77c721c..19e144b 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
 
 cpp -P -DG_OS_UNIX -DINCLUDE_INTERNAL_SYMBOLS ${srcdir:-.}/glib.symbols | sed -e '/^$/d' | sort > expected-abi
-nm -D .libs/libglib-2.0.so | grep " T " | cut -c12- | sort > actual-abi
+nm -D .libs/libglib-2.0.so | grep " T " | cut -d ' ' -f 3 | sort > actual-abi
 diff -u expected-abi actual-abi && rm expected-abi actual-abi