Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006105OCamlotherlibspublic2013-07-30 03:252014-02-18 20:39
Assigned To 
Platformi686OSGentoo LinuxOS VersionRolling release
Product Version4.00.1 
Target VersionFixed in Version 
Summary0006105: is_inet6_addr from should be exposed in unix.mli
DescriptionI don't see the reasoning behind is_inet6_addr from not being exposed in the interface; there is no other way to identify an inet_addr's address family once one has been created and while the function is fairly trivial in itself, the same code wouldn't work outside of Unix because the type abbreviation of inet_addr = string is hidden (and I would really rather not resort to type magic for something as simple as this).

There is domain_of_sockaddr that can return either PF_INET or PF_INET6 (and uses is_inet6_addr to determine that) but it's unintuitive what with being a level of abstraction higher.
Tagsjunior_job, patch
Attached Filespatch file icon 6105_is_inet6_addr.patch [^] (426 bytes) 2014-02-18 20:35 [Show Content]

- Relationships

-  Notes
dsheets (reporter)
2014-02-18 20:35

Patch attached.

- Issue History
Date Modified Username Field Change
2013-07-30 03:25 qrntz New Issue
2013-08-28 11:16 doligez Status new => confirmed
2013-08-28 11:16 doligez Tag Attached: junior_job
2014-02-18 20:35 dsheets Note Added: 0010942
2014-02-18 20:35 dsheets File Added: 6105_is_inet6_addr.patch
2014-02-18 20:39 dsheets Tag Attached: patch
2017-02-23 16:42 doligez Category OCaml otherlibs => otherlibs

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker