Artifacts Associated With Ticket 964270ffffffffffffffffffffffffffffffffff
Ticket change [8a0f0fc9b5] (rid 127326) by dgp on 2004-06-01 13:31:30:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- comment initialized to:
==== iogt-2.1 basic I/O, operation trail FAILED ==== Contents of test case: set fin [open $path(dummy) r] set fout [open $path(dummyout) w] set ain [list] ; set aout [list] audit_ops ain -attach $fin audit_ops aout -attach $fout fconfigure $fin -buffersize 10 fconfigure $fout -buffersize 5 fcopy $fin $fout close $fin close $fout set res "[join $ain \n]\n--------\n[join $aout \n]" ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: bad value for -buffersize: must not be less than 10 or greater than 1Mbyte. while executing "fconfigure $fout -buffersize 5" ("uplevel" body line 10) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== iogt-2.1 FAILED ==== iogt-2.2 basic I/O, data trail FAILED ==== Contents of test case: set fin [open $path(dummy) r] set fout [open $path(dummyout) w] set ain [list] ; set aout [list] audit_flow ain -attach $fin audit_flow aout -attach $fout fconfigure $fin -buffersize 10 fconfigure $fout -buffersize 5 fcopy $fin $fout close $fin close $fout set res "[join $ain \n]\n--------\n[join $aout \n]" ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: bad value for -buffersize: must not be less than 10 or greater than 1Mbyte. while executing "fconfigure $fout -buffersize 5" ("uplevel" body line 10) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== iogt-2.2 FAILED - foundin initialized to: "obsolete: 8.5a2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "26. Channel Transforms"
- title initialized to: "new iogt.test failures"
- type initialized to: "Bug"
Ticket change [737bb8350e] (rid 105049) by andreas_kupries on 2004-06-01 22:06:55:
- assignee changed to: "davygrvy"
- icomment:
Logged In: YES user_id=75003 Reassigned to david, this seems to originate in his latest changes.
- login: "andreas_kupries"
- mimetype: "text/plain"
- priority changed to: "8"
- username: "andreas_kupries"
Ticket change [a469b537ef] (rid 110203) by davygrvy on 2004-06-02 00:28:33:
- icomment:
Logged In: YES user_id=7549 Those buffersizes are invalid. I'll fix the test suite.
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
- icomment:
Ticket change [6555208897] (rid 102526) by dgp on 2004-06-02 00:30:33:
- icomment:
Logged In: YES user_id=80530 I'd still like to see the change reverted. Who knows how many scripts depend on silent truncation of buffersize requests outside the valid range?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [c89217977c] (rid 122125) by davygrvy on 2004-06-02 00:40:43:
- icomment:
Logged In: YES user_id=7549 depending on silent behavior is a dangerous dependancy. Try this, then scratch your head why: fconfigure stdout -buffersize 0x400
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
- icomment:
Ticket change [74fe8425d9] (rid 105318) by dgp on 2004-06-02 00:53:41:
- icomment:
Logged In: YES user_id=80530 Ah, I see. I'm fine with the conversion to use Tcl_GetInt and the error reporting when a non-integer value is provided. I'm opposed to the removal of silent range truncation only. That would take care of the tests, and any semi-sensible scripts. I don't want to add hard errors on buffersizes outside the limits mostly because it's not clear to me why the limits are imposed in the first place. I'd rather not enshrine them.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [3fcfba4f12] (rid 121528) by dgp on 2004-06-02 00:59:39:
- icomment:
Logged In: YES user_id=80530 see RFE 558932
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [65aa0804ae] (rid 102591) by davygrvy on 2004-06-02 01:22:38:
- icomment:
Logged In: YES user_id=7549 I'll pull-out the range verification, and revert the test suite mods I just did, but leave the Tcl_GetInt in place of atoi. The silent truncation still scares me.
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
- icomment:
Ticket change [b770d512d9] (rid 125599) by davygrvy on 2004-06-02 02:15:33:
- closedate changed to: "2004-06-01T19:15:33"
- closer changed to: "davygrvy"
- icomment:
Logged In: YES user_id=7549 test suite returned to "as before", failures fixed.
- login: "davygrvy"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "davygrvy"