Re: [PATCH v3 10/12] usage: allow dying without writing an error message
- From
- Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
- Date
- Jun 3, 2025, 08:33 UTC
- Message-ID
- <256e9e60-fdea-461b-b43c-8e6024b773a2@app.fastmail.com>
- In-Reply-To
- <CAOLa=ZTLvL52UpZZbXtMefHPE+s5PWhUR4ZLgB6T_JMFjqfBZg@mail.gmail.com>
On Tue, Jun 3, 2025, at 10:31, Karthik Nayak wrote:
Show 7 quoted lines
> Patrick Steinhardt <ps@pks.im> 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/