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

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.
This commit is contained in:
Manish Singh 2004-09-17 01:41:18 +00:00 committed by Manish Singh
parent e24b2f8cb5
commit 5c7ef4bbce
6 changed files with 26 additions and 1 deletions

View 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

View 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

View 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

View 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

View 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

View File

@ -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