reflect renaming of g_string_sprintfa to g_string_printfa
authorHans Breuer <hans@breuer.org>
Thu, 24 May 2001 16:38:24 +0000 (16:38 +0000)
committerHans Breuer <hans@src.gnome.org>
Thu, 24 May 2001 16:38:24 +0000 (16:38 +0000)
2001-05-24  Hans Breuer  <hans@breuer.org>

* grel.c : reflect renaming of g_string_sprintfa to g_string_printfa

* makefile.msc.in : create an additional static lib to be used from
(at least) glib-genmarshal

12 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/grel.c
glib/makefile.msc.in
grel.c
makefile.msc.in

index 84a686f..ffde3ab 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-05-24  Hans Breuer  <hans@breuer.org>
+
+       * grel.c : reflect renaming of g_string_sprintfa to g_string_printfa
+
+       * makefile.msc.in : create an additional static lib to be used from
+       (at least) glib-genmarshal
+
 2001-05-23  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * garray.c (g_array_remove_index_fast): Tiny speed improvement
index 84a686f..ffde3ab 100644 (file)
@@ -1,3 +1,10 @@
+2001-05-24  Hans Breuer  <hans@breuer.org>
+
+       * grel.c : reflect renaming of g_string_sprintfa to g_string_printfa
+
+       * makefile.msc.in : create an additional static lib to be used from
+       (at least) glib-genmarshal
+
 2001-05-23  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * garray.c (g_array_remove_index_fast): Tiny speed improvement
index 84a686f..ffde3ab 100644 (file)
@@ -1,3 +1,10 @@
+2001-05-24  Hans Breuer  <hans@breuer.org>
+
+       * grel.c : reflect renaming of g_string_sprintfa to g_string_printfa
+
+       * makefile.msc.in : create an additional static lib to be used from
+       (at least) glib-genmarshal
+
 2001-05-23  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * garray.c (g_array_remove_index_fast): Tiny speed improvement
index 84a686f..ffde3ab 100644 (file)
@@ -1,3 +1,10 @@
+2001-05-24  Hans Breuer  <hans@breuer.org>
+
+       * grel.c : reflect renaming of g_string_sprintfa to g_string_printfa
+
+       * makefile.msc.in : create an additional static lib to be used from
+       (at least) glib-genmarshal
+
 2001-05-23  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * garray.c (g_array_remove_index_fast): Tiny speed improvement
index 84a686f..ffde3ab 100644 (file)
@@ -1,3 +1,10 @@
+2001-05-24  Hans Breuer  <hans@breuer.org>
+
+       * grel.c : reflect renaming of g_string_sprintfa to g_string_printfa
+
+       * makefile.msc.in : create an additional static lib to be used from
+       (at least) glib-genmarshal
+
 2001-05-23  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * garray.c (g_array_remove_index_fast): Tiny speed improvement
index 84a686f..ffde3ab 100644 (file)
@@ -1,3 +1,10 @@
+2001-05-24  Hans Breuer  <hans@breuer.org>
+
+       * grel.c : reflect renaming of g_string_sprintfa to g_string_printfa
+
+       * makefile.msc.in : create an additional static lib to be used from
+       (at least) glib-genmarshal
+
 2001-05-23  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * garray.c (g_array_remove_index_fast): Tiny speed improvement
index 84a686f..ffde3ab 100644 (file)
@@ -1,3 +1,10 @@
+2001-05-24  Hans Breuer  <hans@breuer.org>
+
+       * grel.c : reflect renaming of g_string_sprintfa to g_string_printfa
+
+       * makefile.msc.in : create an additional static lib to be used from
+       (at least) glib-genmarshal
+
 2001-05-23  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * garray.c (g_array_remove_index_fast): Tiny speed improvement
index 84a686f..ffde3ab 100644 (file)
@@ -1,3 +1,10 @@
+2001-05-24  Hans Breuer  <hans@breuer.org>
+
+       * grel.c : reflect renaming of g_string_sprintfa to g_string_printfa
+
+       * makefile.msc.in : create an additional static lib to be used from
+       (at least) glib-genmarshal
+
 2001-05-23  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * garray.c (g_array_remove_index_fast): Tiny speed improvement
index 1e82b26..41e7322 100644 (file)
@@ -406,7 +406,7 @@ g_relation_print_one (gpointer tuple_key,
   
   for (i = 0; i < rel->fields; i += 1)
     {
-      g_string_sprintfa (gstring, "%p", tuples[i]);
+      g_string_printfa (gstring, "%p", tuples[i]);
       
       if (i < (rel->fields - 1))
        g_string_append (gstring, ",");
index 06588d4..a0ace3f 100644 (file)
@@ -25,6 +25,7 @@ DLLS_TO_BUILD =                       \
 all :                          \
        config.h                \
        glibconfig.h            \
+       glib-$(GLIB_VER)s.lib \
        $(DLLS_TO_BUILD)        \
        gspawn-win32-helper.exe \
        testglib.exe            \
@@ -87,8 +88,14 @@ makefile.msc: makefile.msc.in
 
 ################ glib
 
+# create a static libary
+glib-$(GLIB_VER)s.lib : $(glib_OBJECTS)
+       lib /out:glib-$(GLIB_VER)s.lib $(glib_OBJECTS)
+
+# $(LIBICONV_LIBS) is a runtime dependency now
+
 glib-$(GLIB_VER).dll : $(glib_OBJECTS) glib.def
-       $(CC) $(CFLAGS) -LD -Feglib-$(GLIB_VER).dll $(glib_OBJECTS) $(INTL_LIBS) $(LIBICONV_LIBS) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:glib.def
+       $(CC) $(CFLAGS) -LD -Feglib-$(GLIB_VER).dll $(glib_OBJECTS) $(INTL_LIBS) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:glib.def
 
 gspawn-win32-helper.exe : gspawn-win32-helper.c glib-$(GLIB_VER).dll
        $(CC) $(CFLAGS) -Fe$@ -DG_LOG_DOMAIN=\"gspawn-win32-helper\" gspawn-win32-helper.c glib-$(GLIB_VER).lib $(LDFLAGS) /subsystem:windows user32.lib
diff --git a/grel.c b/grel.c
index 1e82b26..41e7322 100644 (file)
--- a/grel.c
+++ b/grel.c
@@ -406,7 +406,7 @@ g_relation_print_one (gpointer tuple_key,
   
   for (i = 0; i < rel->fields; i += 1)
     {
-      g_string_sprintfa (gstring, "%p", tuples[i]);
+      g_string_printfa (gstring, "%p", tuples[i]);
       
       if (i < (rel->fields - 1))
        g_string_append (gstring, ",");
index 06588d4..a0ace3f 100644 (file)
@@ -25,6 +25,7 @@ DLLS_TO_BUILD =                       \
 all :                          \
        config.h                \
        glibconfig.h            \
+       glib-$(GLIB_VER)s.lib \
        $(DLLS_TO_BUILD)        \
        gspawn-win32-helper.exe \
        testglib.exe            \
@@ -87,8 +88,14 @@ makefile.msc: makefile.msc.in
 
 ################ glib
 
+# create a static libary
+glib-$(GLIB_VER)s.lib : $(glib_OBJECTS)
+       lib /out:glib-$(GLIB_VER)s.lib $(glib_OBJECTS)
+
+# $(LIBICONV_LIBS) is a runtime dependency now
+
 glib-$(GLIB_VER).dll : $(glib_OBJECTS) glib.def
-       $(CC) $(CFLAGS) -LD -Feglib-$(GLIB_VER).dll $(glib_OBJECTS) $(INTL_LIBS) $(LIBICONV_LIBS) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:glib.def
+       $(CC) $(CFLAGS) -LD -Feglib-$(GLIB_VER).dll $(glib_OBJECTS) $(INTL_LIBS) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:glib.def
 
 gspawn-win32-helper.exe : gspawn-win32-helper.c glib-$(GLIB_VER).dll
        $(CC) $(CFLAGS) -Fe$@ -DG_LOG_DOMAIN=\"gspawn-win32-helper\" gspawn-win32-helper.c glib-$(GLIB_VER).lib $(LDFLAGS) /subsystem:windows user32.lib