You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 2560 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Eijiro Sumii
Version: 3.07+2
OS: Windows 2000 with MSVC
Submission from: mor371-1.cis.upenn.edu (158.130.12.182)
"in_channel_length" returns the number of characters in a file before the
conversion of "\r\n" to "\n" on Windows. I think this is confusing and leads to
unexpected End_of_file exceptions in contexts like "really_input c s 0
(in_channel_length c)". If this is hard to change, it would be better to warn
in the description of in_channel_length in the manual.
The text was updated successfully, but these errors were encountered:
Original bug ID: 2560
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Eijiro Sumii
Version: 3.07+2
OS: Windows 2000 with MSVC
Submission from: mor371-1.cis.upenn.edu (158.130.12.182)
"in_channel_length" returns the number of characters in a file before the
conversion of "\r\n" to "\n" on Windows. I think this is confusing and leads to
unexpected End_of_file exceptions in contexts like "really_input c s 0
(in_channel_length c)". If this is hard to change, it would be better to warn
in the description of in_channel_length in the manual.
The text was updated successfully, but these errors were encountered: