Files
mercury/tests/general/io_regression.exp
Tyson Dowd fdaf7bf23b The xml parser wasn't working, because all the files read using
Estimated hours taken: 2

The xml parser wasn't working, because all the files read using
io__read_file_as_string/4 were empty.  It turns out this is a due to a
bug in the library.

library/io.m:
	Fix a bug that petdr introduced when changing the file stream
	structures.
	Make sure we use the return value of fread (or whatever is used
	to read the file) when reading into a buffer.

tests/general/Mmakefile:
tests/general/io_regression.exp:
tests/general/io_regression.inp:
tests/general/io_regression.m:
	Add a test case for this problem to the test suite.
2000-09-11 04:28:22 +00:00

4 lines
69 B
Plaintext

This is a test of the reading files using io__read_file_as_string.