summaryrefslogtreecommitdiff
path: root/tests/iochannel-test-infile
diff options
context:
space:
mode:
authorRon Steinke <rsteinke@src.gnome.org>2001-07-20 20:14:37 +0000
committerRon Steinke <rsteinke@src.gnome.org>2001-07-20 20:14:37 +0000
commite070fdea390b04f7784f7c930342d481b82c9c60 (patch)
treeddcd1f9c2245823060e2c7a573b7d49357cf4c63 /tests/iochannel-test-infile
parentc71a77a520ac1e5f83677833197c8f6f9aa70f18 (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/iochannel-test-infile')
-rw-r--r--tests/iochannel-test-infile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/iochannel-test-infile b/tests/iochannel-test-infile
new file mode 100644
index 000000000..86e24ee4c
--- /dev/null
+++ b/tests/iochannel-test-infile
@@ -0,0 +1,5 @@
+Line one
+Line two
+Line three
+/* Hello */
+\x1234\x567890\x6666