[ 
https://issues.apache.org/jira/browse/MESOS-8275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16461732#comment-16461732
 ] 

Andrew Schwartzmeyer commented on MESOS-8275:
---------------------------------------------

Found a raw {{stat}} use in the {{files_test.cpp}} code, and more importantly, 
the functions {{FilesProcess::browse}} and {{protobuf::createFileInfo}}. The 
way in which they use it lead to non long-path prefixed paths being sent to 
{{stat}}, so the CRT will likely fail here for long paths.

> Remove use of ::_stat on Windows
> --------------------------------
>
>                 Key: MESOS-8275
>                 URL: https://issues.apache.org/jira/browse/MESOS-8275
>             Project: Mesos
>          Issue Type: Task
>         Environment: Windows
>            Reporter: Andrew Schwartzmeyer
>            Assignee: Andrew Schwartzmeyer
>            Priority: Major
>              Labels: stout, windows
>             Fix For: 1.6.0
>
>
> The Windows stat.hpp header has some remaining uses of non-long-path-aware 
> CRT APIs, specifically {{::_stat}}. This has been punted so far as not yet a 
> problem, but eventually should be fixed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to