Reflect latest g_io_channel_new_file() API changes, use
authorMartin Baulig <baulig@suse.de>
Sun, 8 Jul 2001 13:01:19 +0000 (13:01 +0000)
committerMartin Baulig <martin@src.gnome.org>
Sun, 8 Jul 2001 13:01:19 +0000 (13:01 +0000)
2001-07-08  Martin Baulig  <baulig@suse.de>

* tests/unicode-normalize.c, tests/unicode-collate.c:
Reflect latest g_io_channel_new_file() API changes, use
G_IO_FILE_MODE_READ instead of "r".

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
tests/unicode-collate.c
tests/unicode-normalize.c

index 83ccc0ee468e2f34073ff35af8655e759b29e3f8..c7d8e3b73fa96f252d7142ff7c40ad8e45265016 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-07-08  Martin Baulig  <baulig@suse.de>
+
+       * tests/unicode-normalize.c, tests/unicode-collate.c:
+       Reflect latest g_io_channel_new_file() API changes, use
+       G_IO_FILE_MODE_READ instead of "r".
+
 Fri Jul  6 22:34:32 2001  Owen Taylor  <otaylor@redhat.com>
 
        * glib/gunicode.h glib/gunidecomp.c glib/guniprop.c 
index 83ccc0ee468e2f34073ff35af8655e759b29e3f8..c7d8e3b73fa96f252d7142ff7c40ad8e45265016 100644 (file)
@@ -1,3 +1,9 @@
+2001-07-08  Martin Baulig  <baulig@suse.de>
+
+       * tests/unicode-normalize.c, tests/unicode-collate.c:
+       Reflect latest g_io_channel_new_file() API changes, use
+       G_IO_FILE_MODE_READ instead of "r".
+
 Fri Jul  6 22:34:32 2001  Owen Taylor  <otaylor@redhat.com>
 
        * glib/gunicode.h glib/gunidecomp.c glib/guniprop.c 
index 83ccc0ee468e2f34073ff35af8655e759b29e3f8..c7d8e3b73fa96f252d7142ff7c40ad8e45265016 100644 (file)
@@ -1,3 +1,9 @@
+2001-07-08  Martin Baulig  <baulig@suse.de>
+
+       * tests/unicode-normalize.c, tests/unicode-collate.c:
+       Reflect latest g_io_channel_new_file() API changes, use
+       G_IO_FILE_MODE_READ instead of "r".
+
 Fri Jul  6 22:34:32 2001  Owen Taylor  <otaylor@redhat.com>
 
        * glib/gunicode.h glib/gunidecomp.c glib/guniprop.c 
index 83ccc0ee468e2f34073ff35af8655e759b29e3f8..c7d8e3b73fa96f252d7142ff7c40ad8e45265016 100644 (file)
@@ -1,3 +1,9 @@
+2001-07-08  Martin Baulig  <baulig@suse.de>
+
+       * tests/unicode-normalize.c, tests/unicode-collate.c:
+       Reflect latest g_io_channel_new_file() API changes, use
+       G_IO_FILE_MODE_READ instead of "r".
+
 Fri Jul  6 22:34:32 2001  Owen Taylor  <otaylor@redhat.com>
 
        * glib/gunicode.h glib/gunidecomp.c glib/guniprop.c 
index 83ccc0ee468e2f34073ff35af8655e759b29e3f8..c7d8e3b73fa96f252d7142ff7c40ad8e45265016 100644 (file)
@@ -1,3 +1,9 @@
+2001-07-08  Martin Baulig  <baulig@suse.de>
+
+       * tests/unicode-normalize.c, tests/unicode-collate.c:
+       Reflect latest g_io_channel_new_file() API changes, use
+       G_IO_FILE_MODE_READ instead of "r".
+
 Fri Jul  6 22:34:32 2001  Owen Taylor  <otaylor@redhat.com>
 
        * glib/gunicode.h glib/gunidecomp.c glib/guniprop.c 
index 83ccc0ee468e2f34073ff35af8655e759b29e3f8..c7d8e3b73fa96f252d7142ff7c40ad8e45265016 100644 (file)
@@ -1,3 +1,9 @@
+2001-07-08  Martin Baulig  <baulig@suse.de>
+
+       * tests/unicode-normalize.c, tests/unicode-collate.c:
+       Reflect latest g_io_channel_new_file() API changes, use
+       G_IO_FILE_MODE_READ instead of "r".
+
 Fri Jul  6 22:34:32 2001  Owen Taylor  <otaylor@redhat.com>
 
        * glib/gunicode.h glib/gunidecomp.c glib/guniprop.c 
index 83ccc0ee468e2f34073ff35af8655e759b29e3f8..c7d8e3b73fa96f252d7142ff7c40ad8e45265016 100644 (file)
@@ -1,3 +1,9 @@
+2001-07-08  Martin Baulig  <baulig@suse.de>
+
+       * tests/unicode-normalize.c, tests/unicode-collate.c:
+       Reflect latest g_io_channel_new_file() API changes, use
+       G_IO_FILE_MODE_READ instead of "r".
+
 Fri Jul  6 22:34:32 2001  Owen Taylor  <otaylor@redhat.com>
 
        * glib/gunicode.h glib/gunidecomp.c glib/guniprop.c 
index 83ccc0ee468e2f34073ff35af8655e759b29e3f8..c7d8e3b73fa96f252d7142ff7c40ad8e45265016 100644 (file)
@@ -1,3 +1,9 @@
+2001-07-08  Martin Baulig  <baulig@suse.de>
+
+       * tests/unicode-normalize.c, tests/unicode-collate.c:
+       Reflect latest g_io_channel_new_file() API changes, use
+       G_IO_FILE_MODE_READ instead of "r".
+
 Fri Jul  6 22:34:32 2001  Owen Taylor  <otaylor@redhat.com>
 
        * glib/gunicode.h glib/gunidecomp.c glib/guniprop.c 
index 0ed2735de970f84ad68b5828019d2571db6024da..5475c89b83940c1d5156d77d8a2e2bebac20a56b 100644 (file)
@@ -41,7 +41,7 @@ int main (int argc, char **argv)
 
   if (argc == 2)
     {
-      in = g_io_channel_new_file (argv[1], "r", &error);
+      in = g_io_channel_new_file (argv[1], G_IO_FILE_MODE_READ, &error);
       if (!in)
        {
          fprintf (stderr, "Cannot open %s: %s\n", argv[1], error->message);
index da6c3336dccccac8fbbd7efe125787e0b405d027..2107932f91ef18999a83a0ac3a8ceba2570bc05b 100644 (file)
@@ -144,7 +144,7 @@ int main (int argc, char **argv)
   if (argc == 3)
     line_to_do = atoi(argv[2]);
 
-  in = g_io_channel_new_file (argv[1], "r", &error);
+  in = g_io_channel_new_file (argv[1], G_IO_FILE_MODE_READ, &error);
   if (!in)
     {
       fprintf (stderr, "Cannot open %s: %s\n", argv[1], error->message);