mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
Reflect latest g_io_channel_new_file() API changes, use
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".
This commit is contained in:
parent
f1f680b68c
commit
39caf76a7f
@ -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>
|
Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c
|
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c
|
||||||
|
@ -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>
|
Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c
|
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c
|
||||||
|
@ -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>
|
Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c
|
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c
|
||||||
|
@ -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>
|
Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c
|
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c
|
||||||
|
@ -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>
|
Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c
|
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c
|
||||||
|
@ -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>
|
Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c
|
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c
|
||||||
|
@ -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>
|
Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c
|
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c
|
||||||
|
@ -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>
|
Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c
|
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c
|
||||||
|
@ -41,7 +41,7 @@ int main (int argc, char **argv)
|
|||||||
|
|
||||||
if (argc == 2)
|
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)
|
if (!in)
|
||||||
{
|
{
|
||||||
fprintf (stderr, "Cannot open %s: %s\n", argv[1], error->message);
|
fprintf (stderr, "Cannot open %s: %s\n", argv[1], error->message);
|
||||||
|
@ -144,7 +144,7 @@ int main (int argc, char **argv)
|
|||||||
if (argc == 3)
|
if (argc == 3)
|
||||||
line_to_do = atoi(argv[2]);
|
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)
|
if (!in)
|
||||||
{
|
{
|
||||||
fprintf (stderr, "Cannot open %s: %s\n", argv[1], error->message);
|
fprintf (stderr, "Cannot open %s: %s\n", argv[1], error->message);
|
||||||
|
Loading…
Reference in New Issue
Block a user