Skip to content
Tcl Source Code History Of Ticket 964270ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 964270ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 964270ffffffffffffffffffffffffffffffffff

  1. Ticket change [8a0f0fc9b5] (rid 127326) by dgp on 2004-06-01 13:31:30:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
    4. foundin initialized to: "obsolete: 8.5a2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "26. Channel Transforms"
    10. title initialized to: "new iogt.test failures"
    11. type initialized to: "Bug"
  2. Ticket change [737bb8350e] (rid 105049) by andreas_kupries on 2004-06-01 22:06:55:

    1. assignee changed to: "davygrvy"
    2. icomment:
      Logged In: YES 
      user_id=75003
      
      Reassigned to david, this seems to originate in his latest
      changes.
      
      
    3. login: "andreas_kupries"
    4. mimetype: "text/plain"
    5. priority changed to: "8"
    6. username: "andreas_kupries"
  3. Ticket change [a469b537ef] (rid 110203) by davygrvy on 2004-06-02 00:28:33:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      Those buffersizes are invalid.  I'll fix the test suite.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  4. Ticket change [6555208897] (rid 102526) by dgp on 2004-06-02 00:30:33:

    1. 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?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [c89217977c] (rid 122125) by davygrvy on 2004-06-02 00:40:43:

    1. 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
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  6. Ticket change [74fe8425d9] (rid 105318) by dgp on 2004-06-02 00:53:41:

    1. 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.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [3fcfba4f12] (rid 121528) by dgp on 2004-06-02 00:59:39:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      see RFE 558932
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [65aa0804ae] (rid 102591) by davygrvy on 2004-06-02 01:22:38:

    1. 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.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  9. Ticket change [b770d512d9] (rid 125599) by davygrvy on 2004-06-02 02:15:33:

    1. closedate changed to: "2004-06-01T19:15:33"
    2. closer changed to: "davygrvy"
    3. icomment:
      Logged In: YES 
      user_id=7549
      
      test suite returned to "as before", failures fixed.
      
      
    4. login: "davygrvy"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "davygrvy"