Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-06-25 15:30:17 -0700 (Mon, 25 Jun 2007)
Revision: 11122
Log message:
- The "read(channel, amount)" built-in function should raise an exception on
EOF (this is what the documentation promises, but the implementation used to
simply return an empty string).
- Implementated an "input-line(channel)" built-in function.
- Added two above functions to the InputChannel pervasives object - as
o.read(amount) and o.readln()
- Adding a very simplistic diff alias to make tests do something reasonable on
Windows.
This merges revisions 11119-111121 from the 0.9.8.4 branch.
Changes | Path |
+14 -0 | omake-branches/0.9.8.x/lib/Pervasives.om |
+25 -8 | omake-branches/0.9.8.x/src/builtin/omake_builtin_io.ml |
Properties | omake-branches/0.9.8.x/test/awk/Test1/run.osh |
Properties | omake-branches/0.9.8.x/test/awk/Test2/run.osh |
Properties | omake-branches/0.9.8.x/test/awk/Test3/run.osh |
+1 -1 | omake-branches/0.9.8.x/test/awk/Test3/stdout |
Properties | omake-branches/0.9.8.x/test/awk/Test4/run.osh |
Copied | omake-branches/0.9.8.x/test/diff.om (from rev 11121, omake-branches/0.9.8.4/tests/diff.om) |
Properties | omake-branches/0.9.8.x/test/exn/Test3/run.osh |
Properties | omake-branches/0.9.8.x/test/object/Test1/run.osh |
Properties | omake-branches/0.9.8.x/test/shell/Test1/run.osh |
Properties | omake-branches/0.9.8.x/test/shell/Test2/run.osh |
Properties | omake-branches/0.9.8.x/test/shell/Test3/run.osh |
Properties | omake-branches/0.9.8.x/test/simple/Test4/run.osh |