diff options
author | Ron Steinke <rsteinke@src.gnome.org> | 2001-07-20 20:14:37 +0000 |
---|---|---|
committer | Ron Steinke <rsteinke@src.gnome.org> | 2001-07-20 20:14:37 +0000 |
commit | e070fdea390b04f7784f7c930342d481b82c9c60 (patch) | |
tree | ddcd1f9c2245823060e2c7a573b7d49357cf4c63 /tests/unicode-normalize.c | |
parent | c71a77a520ac1e5f83677833197c8f6f9aa70f18 (diff) |
Modified Files: glib/ChangeLog glib/glib.def glib/glib/giochannel.c
Modified Files:
glib/ChangeLog glib/glib.def glib/glib/giochannel.c
glib/glib/giochannel.h glib/glib/giounix.c
glib/glib/giowin32.c
glib/docs/reference/glib/glib-sections.txt
glib/tests/iochannel-test.c glib/tests/unicode-collate.c
glib/tests/unicode-normalize.c
Added Files:
glib/tests/iochannel-test-infile
* glib/giochannel.c: API changes, fixes to
error handling, some internal restructuring
* glib/giochannel.h: API changes, documentation for
elements in GIOChannel structure
* glib/giounix.c: Matched API changes, implemented
backend to set is_readable, is_writeable, is_seekable
flags, added a test to catch large values of count
for which the behavior of write() is undefined
* glib/giowin32.c: Changed to match new prototypes for
io_close() and io_seek(), removed references to
G_IO_STATUS_INTR, set is_seekable flag in channel
creation functions
* glib.def: Renamed g_channel_error_quark() and
g_channel_error_from_errno() to g_io_channel_error_quark() and
g_io_channel_error_from_errno(); added new functions
g_io_channel_get_buffered() and g_io_channel_set_buffered()
* docs/reference/glib/glib-sections.txt: Modified iochannel
section to reflect new functions and API changes
* tests/iochannel-test.c: Fixed to work with API changes
* tests/iochannel-test-infile: New file; input file
for iochannel-test
* tests/unicode-collate.c tests/unicode-normalize.c:
Changed G_IO_FILE_MODE_READ to "r" to match API change
Diffstat (limited to 'tests/unicode-normalize.c')
-rw-r--r-- | tests/unicode-normalize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unicode-normalize.c b/tests/unicode-normalize.c index 7ea46edec..ec9574e2c 100644 --- a/tests/unicode-normalize.c +++ b/tests/unicode-normalize.c @@ -141,7 +141,7 @@ int main (int argc, char **argv) if (argc == 3) line_to_do = atoi(argv[2]); - in = g_io_channel_new_file (argv[1], G_IO_FILE_MODE_READ, &error); + in = g_io_channel_new_file (argv[1], "r", &error); if (!in) { fprintf (stderr, "Cannot open %s: %s\n", argv[1], error->message); |