|
2001-04-01
| ||
| 01:47 | • Ticket [218737ffff] -blocking mode doesn't on Windows com ports status s... artifact: 5282cf35eb user: dgp | |
|
2000-10-26
| ||
| 08:28 | • Closed ticket [218737ffff]. artifact: 2b32d998cc user: welch | |
| 01:04 | • New ticket [218737ffff]. artifact: 69291a9487 user: nobody | |
-blocking mode doesn't on Windows com ports
Closed / Fixed218737ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:04:45
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
welch Closed ticket [218737ffff].
[History diff]2000-10-26 08:28:12
dgp Ticket [218737ffff]: 3 changes
[History diff]2001-04-01 01:47:35
Log in (anonymous is fine) to add a comment.