Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in camldebug #2664

Closed
vicuna opened this issue Jan 18, 2001 · 1 comment
Closed

Bug in camldebug #2664

vicuna opened this issue Jan 18, 2001 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Jan 18, 2001

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" ?

@vicuna
Copy link
Author

vicuna commented Feb 5, 2001

Comment author: administrator

Fixed 2001-02-05 by Xavier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant