Artifacts Associated With Ticket 218737
Ticket change [69291a9487] (rid 103197) by nobody on 2000-10-26 01:04:45:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1948 Bug Version: 8.0.4 SubmitDate: '1999-04-27' LastModified: '2000-04-26' Severity: SER Status: Released Submitter: pat ChangedBy: hobbs OS: All OSVersion: NA Machine: NA FixedDate: '2000-04-26' FixedInVersion: 8.3.1 ClosedDate: '2000-10-25' Name: Berry Kercheval email: [email protected] Support: None Severity: 2 Synopsis: -blocking mode doesn't on Windows com ports ReproducibleScript: When a file channel $f is configured in -blocking mode (confirmed with fconfigure) and a "read $f $n" is issued, instead of reading $n bytes from the channel $f it reads as many are as available and returns immediately. The problem appears to be near line 692 of TclWinChan.c. The FILE_ASYNC flag is just ignored if *any* characters are ready; those are read and the function ComInputProc returns immediately. It appears that no effort is made to actually read $n bytes, requiring the programmer to "roll their own" proc to read $n bytes. This works correctly (blocks) in 8.3.1 (fix was likely in 8.2). -- 04/26/2000 hobbs
- foundin initialized to: "obsolete: 8.0.4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "63. (unused)"
- title initialized to: "-blocking mode doesn't on Windows com ports"
- type initialized to: "Bug"
Ticket change [2b32d998cc] (rid 118702) by welch on 2000-10-26 08:28:12:
- closedate changed to: "2000-10-26T01:28:12"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [5282cf35eb] (rid 126329) by dgp on 2001-04-01 01:47:35:
- closedate changed to: "2001-03-31T18:47:35"
- closer changed to: "dgp"
- subsystem changed to: "27. Channel Types"