Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005581OCamlOCaml otherlibspublic2012-04-10 13:062012-04-10 17:41
Reporterfrisch 
Assigned To 
PrioritylowSeveritytweakReproducibilityhave not tried
StatusresolvedResolutionno change required 
PlatformWindowsOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005581: Windows: Unix.fstat not returning S_SOCK
DescriptionIt seems that Window's version of fstat does not return whether the handle is a socket or not; consequently S_SOCK is never returned. But we keep in the filedescr structure this information, and so we would be able to return S_SOCK when appropriate.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0007307)
gerd (reporter)
2012-04-10 15:35

Unix only returns S_SOCK when the file is a Unix domain socket (which do not exist in Windows), but not for other kinds of sockets. If we keep this compatibility, the win32 port should behave in the same way, i.e. never return S_SOCK.
(0007308)
doligez (administrator)
2012-04-10 15:50

Alain, do you have any answer to Gerd's objection?
(0007311)
frisch (developer)
2012-04-10 17:25

Damien: no objection. Sorry for the noise.

- Issue History
Date Modified Username Field Change
2012-04-10 13:06 frisch New Issue
2012-04-10 15:35 gerd Note Added: 0007307
2012-04-10 15:50 doligez Note Added: 0007308
2012-04-10 15:50 doligez Status new => feedback
2012-04-10 17:25 frisch Note Added: 0007311
2012-04-10 17:25 frisch Status feedback => new
2012-04-10 17:41 doligez Status new => resolved
2012-04-10 17:41 doligez Resolution open => no change required


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker