Kbase P117426: Reading data from a serial port fails in Progress 9.1D Service Pack 6 and higher
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  20/07/2006 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.1E
UNIX
SYMPTOM(s):
Progress 9.1D06
Progress 9.1D07
Progress 9.1D08
Progress 9.1D09
Application reads data from a serial port
After upgrade, code fails and no data is read
No errors are generated
Problem occurs on each and every attempt
Data is received from a modem
READKEY returns -1 causing the line to reset and disconnect
Communicating via a pipe using INPUT STREAM FROM syntax
Using READKEY PAUSE 0
Problem did not occur in Progress 9.1D05
CHANGE:
Upgraded to Progress 9.1D06 or higher service pack
CHANGE:
Upgraded to Progress 9.1E
CAUSE:
Bug# 20030205-016 was fixed in Service Pack 6 for Progress 9.1D and this changes the behaviour of READKEY PAUSE 0. Prior to 9.1D06, using the READKEY PAUSE 0 statement while receiving input from a stream caused a one second pause on Unix System V machines instead of returning immediately. The bug fix changed this behaviour. From 9.1D06 onwards, READKEY PAUSE 0 does not pause for 1 second.
FIX:
Use READKEY PAUSE 1 to reproduce the behaviour of 9.1D05 and lower.