From: SourceForge.net <no...@so...> - 2009-04-28 23:46:21
|
Bugs item #2783300, was opened at 2009-04-28 16:31 Message generated for change (Comment added) made by miesfeld You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=2783300&group_id=119701 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Interpreter Group: v4.0beta Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mark Miesfeld (miesfeld) Assigned to: Nobody/Anonymous (nobody) Summary: charout to read only file, incorrect return Initial Comment: charout() to a read only file should return the number of characters not written, instead it returns 0. Just happened to be testing charout(), could be other I/O write operations also. ---------------------------------------------------------------------- >Comment By: Mark Miesfeld (miesfeld) Date: 2009-04-28 16:46 Message: hmm, I'm getting back 0 in the test suite (and with the example) [failure] [20090428 16:42:24.843000] svn: r4546 Change date: 2009-04-28 16:26:14 -0700 Test: TEST_POSITIONING_READONLY Class: CHAROUT.testGroup File: C:\work.ooRexx\ooTest\4.0.0\ooRexx\base\bif\CHAROUT.testGroup Line: 285 Failed: assertSame Expected: [[10], identityHash="1099511391844"] Actual: [[0], identityHash="1099511356214"] But, I'm on 64-bit XP. Guess I'll need to look at this myself. <grin> ---------------------------------------------------------------------- Comment By: Rick McGuire (bigrixx) Date: 2009-04-28 16:42 Message: Mark, this program looks like it's working correctly to me. I'm getting the expected "10" value back. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=2783300&group_id=119701 |