mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Mahler" <benjamin.mah...@gmail.com>
Subject Re: Review Request 39771: Show the failing path when execvpe(2) fails.
Date Tue, 03 Nov 2015 22:45:05 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39771/#review104994
-----------------------------------------------------------



3rdparty/libprocess/src/subprocess.cpp (lines 179 - 180)
<https://reviews.apache.org/r/39771/#comment163353>

    Technically we should not be appending strings like this since malloc is not async-signal-safe.
But since you're not introducing the issue, it's alright.
    
    (1) Typically we would print like this: "Failed to os::execvpe on path '<path>':
<reason>".
    
    (2) Mind fixing the indent on your second line?


- Ben Mahler


On Oct. 29, 2015, 9 p.m., James Peach wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39771/
> -----------------------------------------------------------
> 
> (Updated Oct. 29, 2015, 9 p.m.)
> 
> 
> Review request for mesos.
> 
> 
> Bugs: MESOS-3608
>     https://issues.apache.org/jira/browse/MESOS-3608
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Show the failing path when execvpe(2) fails.
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/src/subprocess.cpp 459825c188d56d25f6e2832e5a170d806e257d6b 
> 
> Diff: https://reviews.apache.org/r/39771/diff/
> 
> 
> Testing
> -------
> 
> make check and manual testing.
> 
> 
> Thanks,
> 
> James Peach
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message