Closed jmid closed 7 months ago
An output following a seek
is also affected:
https://ocaml-multicoretests.ci.dev:8100/job/2024-01-12/133422-ci-ocluster-build-389bbf
Messages for test STM Out_channel test sequential:
Results incompatible with model
Close : Ok (())
Seek 2L : Error (Sys_error("Bad file descriptor"))
Output_string "Q\167\017" : Ok (())
Closing as this has been fixed upstream in ocaml/ocaml#12678 and included in 5.2.0~beta1
The revised
Out_channel
STM
test in #431 revealed a regression on 5.2 and trunk/5.3 where a second output call no longer raises an exception:The issue is not limited to
output_string
. The other output operationsoutput_byte
,output_char
, ... are also affected.This has been reported upstream in https://github.com/ocaml/ocaml/issues/12898