[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RISU 5/9] Use EXIT_FAILURE, EXIT_SUCCESS
From: |
Richard Henderson |
Subject: |
Re: [RISU 5/9] Use EXIT_FAILURE, EXIT_SUCCESS |
Date: |
Mon, 18 May 2020 09:46:19 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
On 5/18/20 8:54 AM, Peter Maydell wrote:
> On Wed, 13 May 2020 at 19:10, Richard Henderson
> <address@hidden> wrote:
>>
>> Some of the time we exit via the return value from main.
>> This can make it easier to tell what it is we're returning.
>>
>> Signed-off-by: Richard Henderson <address@hidden>
>
> I don't really see the benefit personally, but
It wasn't so much for the direct calls of exit, but when we return an "int"
that gets passed to exit later.
r~
- Re: [RISU 2/9] Unify master_fd and apprentice_fd to comm_fd, (continued)
- [RISU 3/9] Hoist trace file opening, Richard Henderson, 2020/05/13
- [RISU 6/9] Add magic and size to the trace header, Richard Henderson, 2020/05/13
- [RISU 4/9] Adjust tracefile open for write, Richard Henderson, 2020/05/13
- [RISU 8/9] aarch64: Reorg sve reginfo to save space, Richard Henderson, 2020/05/13
- [RISU 7/9] Compute reginfo_size based on the reginfo, Richard Henderson, 2020/05/13
- [RISU 5/9] Use EXIT_FAILURE, EXIT_SUCCESS, Richard Henderson, 2020/05/13
- [RISU 9/9] Add --dump option to inspect trace files, Richard Henderson, 2020/05/13
- Re: [RISU 0/9] risu cleanups and improvements, Peter Maydell, 2020/05/18