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 10:34 AM Kristoffer Haugsbakk
<kristofferhaugsbakk@xxxxxxxxxxxx> wrote:
>
> On Tue, Jun 3, 2025, at 10:31, Karthik Nayak wrote:
> > Patrick Steinhardt <ps@xxxxxx> writes:
> >
> >> Sometimes code wants to die in a situation where it already has written
> >> an error message. To use the same error code as `die()` we have to open
> >> code the code with a call to `exit(128)` in such cases, which is easy to
> >
> > Nit: This reads a little weird.
>
> Maybe s/to open code the code/to open-code the code/

Ah, that makes so much difference.





[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