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: 263 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: -for Caml light use https://github.com/camllight/camllight/issues
There seem to have a bug in the function [convert_adress] of module
[unix_tools] in camldebug.
Should not the lines
let host = sub_string address 0 (n-1)
and port = sub_string address (n + 1) (string_length address)
be replaced by
let host = sub_string address 0 n
and port = sub_string address (n + 1) (string_length address -n - 1)
so that [convert_adress "myhost:1234"] gives host="myhost" and "port=1234" ?
The text was updated successfully, but these errors were encountered:
Original bug ID: 263
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: -for Caml light use https://github.com/camllight/camllight/issues
Bug description
Full_Name: Jocelyn S'erot
Version: Caml Light 0.74
OS: SunOS 5.1.1
Submission from: mistral.univ-bpclermont.fr (193.54.50.10)
There seem to have a bug in the function [convert_adress] of module
[unix_tools] in camldebug.
Should not the lines
let host = sub_string address 0 (n-1)
and port = sub_string address (n + 1) (string_length address)
be replaced by
let host = sub_string address 0 n
and port = sub_string address (n + 1) (string_length address -n - 1)
so that [convert_adress "myhost:1234"] gives host="myhost" and "port=1234" ?
The text was updated successfully, but these errors were encountered: