Artifacts Associated With Ticket 219079
Ticket change [1464647188] (rid 124388) by nobody on 2000-10-26 01:10:23:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 5089 Bug Version: 8.3 SubmitDate: '2000-04-14' LastModified: '2000-04-14' Severity: LOW Status: Released Submitter: hobbs ChangedBy: hobbs OS: All Unix FixedDate: '2000-04-14' FixedInVersion: 8.3.1 ClosedDate: '2000-10-25' From: Daniel O'Connor Hi, While investigating using mark and space parity in an application I noticed that if your OS doesn't support mark/space parity it (tclUnixChan.c) will still let you set it. Attached is a patch which causes the fconfigure -mode command to generate an error if you use mark/space parity and it isn't supported. I created it from Tcl8.0.5, but it applies with a 9 line offset to 8.2.3. --- tclUnixChan.c.origThu Feb 17 12:05:58 2000 +++ tclUnixChan.cThu Feb 17 11:58:30 2000 @@ -1123,10 +1123,18 @@ } return TCL_ERROR; } +#ifdef PAREXT if (strchr("noems", parity) == NULL) { +#else + if (strchr("noe", parity) == NULL) { +#endif if (interp != NULL) { Tcl_AppendResult(interp, bad, +#ifdef PAREXT " parity: should be n, o, e, m, or s", NULL); +#else + " parity: should be n, o, or e", NULL); +#endif } return TCL_ERROR; } Patched in 8.3.1. - foundin initialized to: "obsolete: 8.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "62. (unused)"
- title initialized to:
You can set mark/space parity on OSes that don't support it
- type initialized to: "Bug"
Ticket change [c477856b07] (rid 111855) by welch on 2000-10-26 08:34:54:
- closedate changed to: "2000-10-26T01:34:54"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [f35a607d84] (rid 129694) by dgp on 2001-04-03 06:28:50:
- closedate changed to: "2001-04-02T23:28:50"
- closer changed to: "dgp"
- subsystem changed to: "27. Channel Types"