From: Tor Lillqvist Date: Mon, 29 Sep 2003 22:40:40 +0000 (+0000) Subject: Use hardcoded name for DLL, as there is no reliable way to determine it at X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=b514888d163366e7dffb057ec07903e137b1a417;p=dana%2Fcg-glib.git Use hardcoded name for DLL, as there is no reliable way to determine it at 2003-09-29 Tor Lillqvist * tests/testglib.c (main): Use hardcoded name for DLL, as there is no reliable way to determine it at compile or run time anyway. --- diff --git a/ChangeLog b/ChangeLog index d75d4352..cbc77909 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-09-29 Tor Lillqvist + + * tests/testglib.c (main): Use hardcoded name for DLL, as there is + no reliable way to determine it at compile or run time anyway. + 2003-09-29 Matthias Clasen * glib/guniprop.c (g_unichar_get_mirror_char): Add "Since: 2.4" diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index d75d4352..cbc77909 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2003-09-29 Tor Lillqvist + + * tests/testglib.c (main): Use hardcoded name for DLL, as there is + no reliable way to determine it at compile or run time anyway. + 2003-09-29 Matthias Clasen * glib/guniprop.c (g_unichar_get_mirror_char): Add "Since: 2.4" diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index d75d4352..cbc77909 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +2003-09-29 Tor Lillqvist + + * tests/testglib.c (main): Use hardcoded name for DLL, as there is + no reliable way to determine it at compile or run time anyway. + 2003-09-29 Matthias Clasen * glib/guniprop.c (g_unichar_get_mirror_char): Add "Since: 2.4" diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index d75d4352..cbc77909 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2003-09-29 Tor Lillqvist + + * tests/testglib.c (main): Use hardcoded name for DLL, as there is + no reliable way to determine it at compile or run time anyway. + 2003-09-29 Matthias Clasen * glib/guniprop.c (g_unichar_get_mirror_char): Add "Since: 2.4" diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index d75d4352..cbc77909 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2003-09-29 Tor Lillqvist + + * tests/testglib.c (main): Use hardcoded name for DLL, as there is + no reliable way to determine it at compile or run time anyway. + 2003-09-29 Matthias Clasen * glib/guniprop.c (g_unichar_get_mirror_char): Add "Since: 2.4" diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index d75d4352..cbc77909 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2003-09-29 Tor Lillqvist + + * tests/testglib.c (main): Use hardcoded name for DLL, as there is + no reliable way to determine it at compile or run time anyway. + 2003-09-29 Matthias Clasen * glib/guniprop.c (g_unichar_get_mirror_char): Add "Since: 2.4" diff --git a/tests/testglib.c b/tests/testglib.c index 54a9153b..b2a7995c 100644 --- a/tests/testglib.c +++ b/tests/testglib.c @@ -401,16 +401,11 @@ main (int argc, GError *error; char *name_used; #ifdef G_OS_WIN32 - gchar *glib_dll = g_strdup_printf ("libglib-%d.%d-%d.dll", - GLIB_MAJOR_VERSION, - GLIB_MINOR_VERSION, - GLIB_MICRO_VERSION - GLIB_BINARY_AGE); + /* Can't calculate GLib DLL name at runtime. */ + gchar *glib_dll = "libglib-2.0-0.dll"; #endif #ifdef G_WITH_CYGWIN - gchar *glib_dll = g_strdup_printf ("cygglib-%d.%d-%d.dll", - GLIB_MAJOR_VERSION, - GLIB_MINOR_VERSION, - GLIB_MICRO_VERSION - GLIB_BINARY_AGE); + gchar *glib_dll = "cygglib-2.0-0.dll"; #endif g_print ("TestGLib v%u.%u.%u (i:%u b:%u)\n",