Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000263OCamlCaml lightpublic2001-01-18 15:552001-07-30 09:39
Reporteradministrator 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000263: Bug in camldebug
DescriptionFull_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" ?

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000004)
administrator (administrator)
2001-02-05 10:29

Fixed 2001-02-05 by Xavier.

- Issue History
Date Modified Username Field Change
2005-11-18 10:13 administrator New Issue


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker