From: Martin Baulig Date: Sun, 8 Jul 2001 13:01:19 +0000 (+0000) Subject: Reflect latest g_io_channel_new_file() API changes, use X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=39caf76a7f7313f60eecdf31741f9edd48327be1;p=dana%2Fcg-glib.git Reflect latest g_io_channel_new_file() API changes, use 2001-07-08 Martin Baulig * 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". --- diff --git a/ChangeLog b/ChangeLog index 83ccc0ee..c7d8e3b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-07-08 Martin Baulig + + * 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 * glib/gunicode.h glib/gunidecomp.c glib/guniprop.c diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 83ccc0ee..c7d8e3b7 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +2001-07-08 Martin Baulig + + * 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 * glib/gunicode.h glib/gunidecomp.c glib/guniprop.c diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 83ccc0ee..c7d8e3b7 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2001-07-08 Martin Baulig + + * 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 * glib/gunicode.h glib/gunidecomp.c glib/guniprop.c diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 83ccc0ee..c7d8e3b7 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,9 @@ +2001-07-08 Martin Baulig + + * 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 * glib/gunicode.h glib/gunidecomp.c glib/guniprop.c diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 83ccc0ee..c7d8e3b7 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +2001-07-08 Martin Baulig + + * 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 * glib/gunicode.h glib/gunidecomp.c glib/guniprop.c diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 83ccc0ee..c7d8e3b7 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +2001-07-08 Martin Baulig + + * 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 * glib/gunicode.h glib/gunidecomp.c glib/guniprop.c diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 83ccc0ee..c7d8e3b7 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2001-07-08 Martin Baulig + + * 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 * glib/gunicode.h glib/gunidecomp.c glib/guniprop.c diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 83ccc0ee..c7d8e3b7 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2001-07-08 Martin Baulig + + * 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 * glib/gunicode.h glib/gunidecomp.c glib/guniprop.c diff --git a/tests/unicode-collate.c b/tests/unicode-collate.c index 0ed2735d..5475c89b 100644 --- a/tests/unicode-collate.c +++ b/tests/unicode-collate.c @@ -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); diff --git a/tests/unicode-normalize.c b/tests/unicode-normalize.c index da6c3336..2107932f 100644 --- a/tests/unicode-normalize.c +++ b/tests/unicode-normalize.c @@ -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);