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

History Of Ticket 500348ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 500348ffffffffffffffffffffffffffffffffff

  1. Ticket change [0607edd34e] (rid 89147) by schroedter on 2002-01-07 11:06:15:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Tcl version: Current 8.4 CVS, Windows
      
      There is a bug in the TIP#35 implementation in
      SerialSetOptionProc(): It occasionally modifies the 
      'value' argument to upper case letters.
      The following script demonstrates the problem:
      
      set filename com1
      proc openFile {} {
          global filename chan
          set chan [open $filename r+]
          fconfigure $chan -mode 9600,n,8,1    
          fconfigure $chan -handshake none
          fconfigure $chan -buffering none
      }
      openFile
      
      [fconfigure -handshake none] modifies "none" to "NONE".
      The following [fconfigure -handshake buffering none]
      reuses the "NONE" value (when byte compiled) and fails.
      
      The attached patch uses lower case comparison instead
      of modifying the 'value' argument.
      
      PS: Shouldn't Tcl_DriverSetOptionProc be better 
      declared as 
      (... const char *optionName, const char *value) ?
      
      
      
    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: "schroedter"
    9. subsystem initialized to: "27. Channel Types"
    10. title initialized to: "fconfigure for serial ports failure"
    11. type initialized to: "Bug"
  2. Ticket change [d012922a59] (rid 113102) by schroedter on 2002-01-07 18:06:16:

    1. icomment:
      
      
      File Added - 15613: tclWinSerial.c.patch
      
      
      
    2. login: "schroedter"
    3. mimetype: "text/plain"
    4. username: "schroedter"
  3. Ticket change [8b21edcdfc] (rid 127506) by andreas_kupries on 2002-01-08 04:17:23:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      Regarding the post-skriptum I believe that TIP #27 may 
      apply. Please check with Kevin Kenny (kennykb) and Donald 
      Porter (dgp).
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. priority changed to: "6"
    5. username: "andreas_kupries"
  4. Ticket change [c9f653de16] (rid 122380) by andreas_kupries on 2002-01-08 04:43:14:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      The definition of 'strCaseEqu' is not required. The C-
      library provides 'strcasecmp' (or equivalent). This 
      functionis in the stubs API and thus available, along 
      with 'strncasecmp'.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  5. Ticket change [675de740c9] (rid 102888) by schroedter on 2002-01-09 13:46:06:

    1. icomment:
      Logged In: YES 
      user_id=99573
      
      For Windows there is a strnicmp() function which could be 
      used instead of strCaseEqu().
      I see strncasecmp() in the tclPlatStubs API only for 
      MAC_TCL.
      
      I need the same for the Unix implementation of TIP#35.
      Can I rely on strncasecmp() for all Unix*es ? 
      My Linux manual says it's BSD 4.4.
      
      
      
      
    2. login: "schroedter"
    3. mimetype: "text/plain"
    4. username: "schroedter"
  6. Ticket change [6646afc4b6] (rid 102681) by andreas_kupries on 2002-01-09 23:03:42:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      I believe "strcasecmp" and "strncasecmp" are available for 
      all the major unices. There are implementations in 
      the 'compat' directory which are used if 'configure' does 
      not find these functions. Maybe even for Win*.
      
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  7. Ticket change [34bb0ad31b] (rid 106799) by schroedter on 2002-01-10 13:26:11:

    1. icomment:
      Logged In: YES 
      user_id=99573
      
      Okay, here are the new patches:
      Win32: using strnicmp()
      Unix:   using strncasecmp()
      
      
      
    2. login: "schroedter"
    3. mimetype: "text/plain"
    4. username: "schroedter"
  8. Add attachment "tclWinSerial.c.patch" [b40d8e4783] (rid 124957) by schroedter on 2002-01-10 13:26:11.

  9. Ticket change [432d96e899] (rid 116506) by schroedter on 2002-01-10 13:26:12:

    1. icomment:
      
      
      File Deleted - 15613: 
      
      
      
      File Added - 15782: tclWinSerial.c.patch
      
      
      
    2. login: "schroedter"
    3. mimetype: "text/plain"
    4. username: "schroedter"
  10. Ticket change [6f5201451c] (rid 100296) by schroedter on 2002-01-10 13:30:22:

    1. icomment:
      Logged In: YES 
      user_id=99573
      
      The Unix patches are submitted to patch #438509.
      
      
    2. login: "schroedter"
    3. mimetype: "text/plain"
    4. username: "schroedter"
  11. Ticket change [8d360123d4] (rid 127892) by andreas_kupries on 2002-01-12 03:19:51:

    1. closedate changed to: "2002-01-11T20:19:51"
    2. closer changed to: "andreas_kupries"
    3. icomment:
      Logged In: YES 
      user_id=75003
      
      Patch here comitted to head. The patches in #438509 are 
      owned by Jeff.
      
      
      
    4. login: "andreas_kupries"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "andreas_kupries"