Artifacts Associated With Ticket 500348ffffffffff
Ticket change [0607edd34e] (rid 89147) by schroedter on 2002-01-07 11:06:15:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- 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) ? - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "schroedter"
- subsystem initialized to: "27. Channel Types"
- title initialized to: "fconfigure for serial ports failure"
- type initialized to: "Bug"
Ticket change [d012922a59] (rid 113102) by schroedter on 2002-01-07 18:06:16:
- icomment:
File Added - 15613: tclWinSerial.c.patch
- login: "schroedter"
- mimetype: "text/plain"
- username: "schroedter"
- icomment:
Ticket change [8b21edcdfc] (rid 127506) by andreas_kupries on 2002-01-08 04:17:23:
- 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).
- login: "andreas_kupries"
- mimetype: "text/plain"
- priority changed to: "6"
- username: "andreas_kupries"
- icomment:
Ticket change [c9f653de16] (rid 122380) by andreas_kupries on 2002-01-08 04:43:14:
- 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'.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [675de740c9] (rid 102888) by schroedter on 2002-01-09 13:46:06:
- 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.
- login: "schroedter"
- mimetype: "text/plain"
- username: "schroedter"
- icomment:
Ticket change [6646afc4b6] (rid 102681) by andreas_kupries on 2002-01-09 23:03:42:
- 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*.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [34bb0ad31b] (rid 106799) by schroedter on 2002-01-10 13:26:11:
- icomment:
Logged In: YES user_id=99573 Okay, here are the new patches: Win32: using strnicmp() Unix: using strncasecmp()
- login: "schroedter"
- mimetype: "text/plain"
- username: "schroedter"
- icomment:
Add attachment "tclWinSerial.c.patch" [b40d8e4783] (rid 124957) by schroedter on 2002-01-10 13:26:11.
Ticket change [432d96e899] (rid 116506) by schroedter on 2002-01-10 13:26:12:
- icomment:
File Deleted - 15613: File Added - 15782: tclWinSerial.c.patch
- login: "schroedter"
- mimetype: "text/plain"
- username: "schroedter"
- icomment:
Ticket change [6f5201451c] (rid 100296) by schroedter on 2002-01-10 13:30:22:
- icomment:
Logged In: YES user_id=99573 The Unix patches are submitted to patch #438509.
- login: "schroedter"
- mimetype: "text/plain"
- username: "schroedter"
- icomment:
Ticket change [8d360123d4] (rid 127892) by andreas_kupries on 2002-01-12 03:19:51:
- closedate changed to: "2002-01-11T20:19:51"
- closer changed to: "andreas_kupries"
- icomment:
Logged In: YES user_id=75003 Patch here comitted to head. The patches in #438509 are owned by Jeff.
- login: "andreas_kupries"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "andreas_kupries"