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

History Of Ticket 819667ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 819667ffffffffffffffffffffffffffffffffff

  1. Ticket change [a197a0c9d5] (rid 109750) by nobody on 2003-10-08 00:10:02:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The Windows GetFileType() command incorrectly returns
      FILE_TYPE_UNKNOWN for a com port when using a "KeySpan
      high speed USB serial port" device.  As a result, the
      channel logic doesn't realize that the port is in fact
      a serial port. 
      
      The attached patch adds a new condition when
      determining the file type, where GetFileType() returns
      FILE_TYPE_UNKNOWN, but there is no error, the handle is
      checked against a serial port and console anyways. 
      (It's not clear if the console would ever fall into
      this case, but it doesn't hurt).  With this change, the
      USB serial port is correctly identified as a COM port
      and the serial port-only fconfigure options work as
      expected.
      
      In addition to the above fix, this logic was duplicated
      in two places, TclpOpenFileChannel() and
      Tcl_MakeFileChannel().  The logic was extracted from
      both places and combined into a new file static
      function FileGetType().
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "25. Channel System"
    10. title initialized to: "misidentified windows com port"
    11. type initialized to: "Patch"
  2. Add attachment "patch" [9d95c6dabf] (rid 96333) by nobody on 2003-10-08 07:10:02.

  3. Ticket change [8549df764f] (rid 131289) by nobody on 2003-10-08 07:10:02:

    1. icomment:
      
      
      File Added - 63725: patch
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  4. Ticket change [f8617af0d3] (rid 91526) by davygrvy on 2004-01-12 04:12:27:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      I think this patch is interesting.  A console handle type is 
      rather native and shouldn't be something that a custom file 
      system driver would get associated to, I think..
      
      I'll play around with this.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  5. Ticket change [5f08ac8650] (rid 115743) by davygrvy on 2004-01-12 04:33:53:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      This is really a bug in the USB driver.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  6. Ticket change [fc430bb9e1] (rid 108204) by davygrvy on 2004-01-12 04:42:07:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      For FILE_TYPE_UNKNOWN, we need to make sure an invalid 
      handle isn't improperly trapped as a comm port.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  7. Ticket change [403788d09d] (rid 121598) by nobody on 2004-05-11 03:22:59:

    1. icomment:
      Logged In: NO 
      
      According to the documentation for GetCommState() , it
      should return zero if it fails (the handle can't be opened
      as a COM device.)  This is checked.  Shouldn't this catch
      the case of an invalid handle and not return it as a COM
      port?  Is there another case in which an invalid handle
      could be misidentified?
      
      GetCommState() docs - 
      http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devio/base/getcommstate.asp
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  8. Ticket change [94daff5d25] (rid 106070) by andreas_kupries on 2004-07-17 03:26:35:

    1. assignee changed to: "davygrvy"
    2. icomment:
      Logged In: YES 
      user_id=75003
      
      David, any news on this one ?
      Maybe some to give to Rolf Schroedter as the serial guy ?
      
      
    3. login: "andreas_kupries"
    4. mimetype: "text/plain"
    5. priority changed to: "4"
    6. username: "andreas_kupries"
  9. Ticket change [76fe7691a0] (rid 105685) by billygoto on 2004-12-29 05:14:26:

    1. icomment:
      Logged In: YES 
      user_id=848625
      
      I'm a user who now needs this patch.
      It's over a year old, and doesn't appear to have been
      committed as of 8.4.9.
      
      Please, I don't want to throw out my drawer full of
      Keyspan adapters.. :(
      
      If I have to, I'll apply it myself and use a homemade Tcl
      on all of our machines, but that's going to be really annoying.
      Just posting to make sure this patch isn't forgotten.
      
      
      
    2. login: "billygoto"
    3. mimetype: "text/plain"
    4. username: "billygoto"
  10. Ticket change [963bde9faf] (rid 106292) by davygrvy on 2005-11-04 04:54:22:

    1. assignee changed to: "patthoyts"
  11. Ticket change [a9ac68267e] (rid 99186) by hobbs on 2006-05-12 07:34:16:

    1. assignee changed to: "hobbs"
    2. icomment:
      Logged In: YES 
      user_id=72656
      
      mark for 8.4.14
      
      
    3. login: "hobbs"
    4. mimetype: "text/plain"
    5. priority changed to: "8"
    6. username: "hobbs"
  12. Ticket change [a77790cbfe] (rid 98801) by hobbs on 2006-08-31 04:56:14:

    1. closedate changed to: "2006-08-30T21:56:14"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      Added to 8.4.14 and 8.5a4
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "hobbs"