Skip to content
Tcl Source Code History Of Ticket 496733ffffffffff
Login

History Of Ticket 496733ffffffffff

Artifacts Associated With Ticket 496733ffffffffff

  1. Ticket change [8bb01f3870] (rid 127609) by mdejong on 2001-12-26 06:50:10:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      I ran into this bug while re-implementing fconfigure in
      Jacl.
      It seems the Tcl_GetChannelOption function does not
      quite
      know what to do about a channel that is neither
      readable nor
      writable. Here is what it currently returns:
      
      % set sock [socket -server accept 0]
      sock3
      % fconfigure $sock
      -blocking 1 -buffering full -buffersize 4096 -encoding
      iso8859-1 -eofchar -translation -sockname {0.0.0.0
      0.0.0.0 2001}
      
      The -eofchar and -translation properties should at
      least have
      some value in the list. What exactly these properties
      would
      be used for on a server socket is not clear. For
      example,
      why would you want to set the -blocking property on a
      server socket?
      
      Also note that the Tcl_SetChannelOption method does not
      know
      how to set these values since it is not clear if the
      input
      out the output value would be changed for a server
      socket.
      
      The quick solution I came up with was to just pretend
      these
      values are read only. It was easy to implement and test
      and I can't imagine this would actually matter to
      anyone,
      so it seemed like the right thing to do. The attached
      patch
      implements these changes and add some test cases that
      check
      the behavior.
      
      
      
      
      
    4. foundin initialized to: "obsolete: 8.4a4"
    5. priority initialized to: "3 Low"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "mdejong"
    9. subsystem initialized to: "24. Channel Commands"
    10. title initialized to: "Possible fix for obscure fconfigure bug"
    11. type initialized to: "Bug"
  2. Ticket change [6d8684dea8] (rid 128715) by mdejong on 2001-12-26 13:50:11:

    1. icomment:
      
      
      File Added - 15124: noread_write_channel.patch
      
      
      
    2. login: "mdejong"
    3. mimetype: "text/plain"
    4. username: "mdejong"
  3. Ticket change [a4f8d872fa] (rid 110293) by andreas_kupries on 2002-01-25 01:20:49:

    1. assignee changed to: "mdejong"
    2. icomment:
      Logged In: YES 
      user_id=75003
      
      The patch applied with offsets to the current head, but the 
      result was ok. The patched core configured and compiled 
      flawless (Linux).
      
      The test "socket-7.3" failed, because the length of the 
      result returned by fconfigure changed now that eofchar and 
      translation have values.
      
      I accept the patch, but also ask you to additionally update 
      the failed test before committing everything.
      
      
      
    3. login: "andreas_kupries"
    4. mimetype: "text/plain"
    5. resolution changed to: "Accepted"
    6. username: "andreas_kupries"
  4. Ticket change [30581b3ee8] (rid 93236) by hobbs on 2002-01-25 01:30:04:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      I would also like to see this applied to the 8-3-1-branch.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  5. Ticket change [7e3c8fbf9d] (rid 97369) by mdejong on 2002-01-26 07:30:58:

    1. closedate changed to: "2002-01-26T00:30:58"
    2. closer changed to: "mdejong"
    3. icomment:
      Logged In: YES 
      user_id=90858
      
      I added the attached patch to both the HEAD and the
      8.3 branch. The socket-7.3 test has been fixed.
      
      
    4. login: "mdejong"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "mdejong"
  6. Add attachment "noread_write_channel.patch2" [7415e07a1a] (rid 105140) by mdejong on 2002-01-26 07:30:58.

  7. Ticket change [309f7a73c6] (rid 93288) by mdejong on 2002-01-26 07:30:59:

    1. icomment:
      
      
      File Deleted - 15124: 
      
      
      
      File Added - 16786: noread_write_channel.patch2
      
      
      
    2. login: "mdejong"
    3. mimetype: "text/plain"
    4. username: "mdejong"