[ 
https://issues.apache.org/jira/browse/MESOS-8644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Akash Gupta reassigned MESOS-8644:
----------------------------------

    Assignee: Akash Gupta

> W* macros wrong on Windows.
> ---------------------------
>
>                 Key: MESOS-8644
>                 URL: https://issues.apache.org/jira/browse/MESOS-8644
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Akash Gupta
>            Assignee: Akash Gupta
>            Priority: Major
>
> The `WIFEXITED` checks if the return code is -1 to determine if the process 
> has exited, but on Windows a process can legitimately return -1 as an exit 
> code. It's especially an issue because parts of the mesos code base use 
> `CHECK(WIFEXITED(exit_code) ... )`, which will throw an assertion error if 
> the exit_code is -1.
>  
> Furthermore, the other W* macros determine signal handling, which doesn't 
> make any sense on Windows and can be misused. 



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

Reply via email to