rm autom4te.cache, since it might interfere with differing autoconf
authorManish Singh <yosh@gimp.org>
Mon, 25 Oct 2004 22:08:37 +0000 (22:08 +0000)
committerManish Singh <yosh@src.gnome.org>
Mon, 25 Oct 2004 22:08:37 +0000 (22:08 +0000)
Mon Oct 25 15:05:18 2004  Manish Singh  <yosh@gimp.org>

        * autogen.sh: rm autom4te.cache, since it might interfere with
        differing autoconf versions.

        * tests/child-test.c: use GINT_TO_POINTER for g_child_watch_add
        user data.

        * glib/gfileutils.c: G_IS_DIR_SEPARATOR is defined in gutils.h now,
        don't redefine it here.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
autogen.sh
glib/gfileutils.c
tests/child-test.c

index 519acc6..8bee809 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+Mon Oct 25 15:05:18 2004  Manish Singh  <yosh@gimp.org>
+
+       * autogen.sh: rm autom4te.cache, since it might interfere with
+       differing autoconf versions.
+
+       * tests/child-test.c: use GINT_TO_POINTER for g_child_watch_add
+       user data.
+
+       * glib/gfileutils.c: G_IS_DIR_SEPARATOR is defined in gutils.h now,
+       don't redefine it here.
+
 2004-10-24  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gkeyfile.c (g_key_file_remove_group_node): Don't
index 519acc6..8bee809 100644 (file)
@@ -1,3 +1,14 @@
+Mon Oct 25 15:05:18 2004  Manish Singh  <yosh@gimp.org>
+
+       * autogen.sh: rm autom4te.cache, since it might interfere with
+       differing autoconf versions.
+
+       * tests/child-test.c: use GINT_TO_POINTER for g_child_watch_add
+       user data.
+
+       * glib/gfileutils.c: G_IS_DIR_SEPARATOR is defined in gutils.h now,
+       don't redefine it here.
+
 2004-10-24  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gkeyfile.c (g_key_file_remove_group_node): Don't
index 519acc6..8bee809 100644 (file)
@@ -1,3 +1,14 @@
+Mon Oct 25 15:05:18 2004  Manish Singh  <yosh@gimp.org>
+
+       * autogen.sh: rm autom4te.cache, since it might interfere with
+       differing autoconf versions.
+
+       * tests/child-test.c: use GINT_TO_POINTER for g_child_watch_add
+       user data.
+
+       * glib/gfileutils.c: G_IS_DIR_SEPARATOR is defined in gutils.h now,
+       don't redefine it here.
+
 2004-10-24  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gkeyfile.c (g_key_file_remove_group_node): Don't
index 519acc6..8bee809 100644 (file)
@@ -1,3 +1,14 @@
+Mon Oct 25 15:05:18 2004  Manish Singh  <yosh@gimp.org>
+
+       * autogen.sh: rm autom4te.cache, since it might interfere with
+       differing autoconf versions.
+
+       * tests/child-test.c: use GINT_TO_POINTER for g_child_watch_add
+       user data.
+
+       * glib/gfileutils.c: G_IS_DIR_SEPARATOR is defined in gutils.h now,
+       don't redefine it here.
+
 2004-10-24  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gkeyfile.c (g_key_file_remove_group_node): Don't
index 519acc6..8bee809 100644 (file)
@@ -1,3 +1,14 @@
+Mon Oct 25 15:05:18 2004  Manish Singh  <yosh@gimp.org>
+
+       * autogen.sh: rm autom4te.cache, since it might interfere with
+       differing autoconf versions.
+
+       * tests/child-test.c: use GINT_TO_POINTER for g_child_watch_add
+       user data.
+
+       * glib/gfileutils.c: G_IS_DIR_SEPARATOR is defined in gutils.h now,
+       don't redefine it here.
+
 2004-10-24  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gkeyfile.c (g_key_file_remove_group_node): Don't
index 527eb3c..cd2f89c 100755 (executable)
@@ -72,6 +72,8 @@ if test -z "$AUTOGEN_SUBDIR_MODE"; then
         fi
 fi
 
+rm -rf autom4te.cache
+
 $ACLOCAL $ACLOCAL_FLAGS || exit $?
 
 libtoolize --force || exit $?
index da6533e..f0f7528 100644 (file)
 
 #include "glibintl.h"
 
-#ifdef G_OS_WIN32
-#define G_IS_DIR_SEPARATOR(c) (c == G_DIR_SEPARATOR || c == '/')
-#else
-#define G_IS_DIR_SEPARATOR(c) (c == G_DIR_SEPARATOR)
-#endif
-
 /**
  * g_file_test:
  * @filename: a filename to test
index 37296b4..24227ac 100644 (file)
@@ -169,9 +169,11 @@ main (int argc, char *argv[])
   g_thread_create (test_thread, GINT_TO_POINTER (20), FALSE, NULL);
 #else
   pid = get_a_child (10);
-  g_child_watch_add (pid, child_watch_callback, GINT_TO_POINTER (10));
+  g_child_watch_add (pid, (GChildWatchFunc) child_watch_callback,
+                    GINT_TO_POINTER (10));
   pid = get_a_child (20);
-  g_child_watch_add (pid, child_watch_callback, GINT_TO_POINTER (20));
+  g_child_watch_add (pid, (GChildWatchFunc) child_watch_callback,
+                    GINT_TO_POINTER (20));
 #endif
   
   g_main_loop_run (main_loop);