Re: [PATCH v3 10/12] usage: allow dying without writing an error message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 3, 2025, at 12:46, Patrick Steinhardt wrote:
>> Ah, that makes so much difference.
>
> That reads better, but I guess we can improve it even further. How about
> this instead:
>
>     To retain the same error code as `die()` we have to use `exit(128)`,
>     which is easy to get wrong and leaves magical numbers all over our
>     codebase.

Looks great.  Just s/magical numbers/magic numbers/




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux