9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Alex Musolino <alex@musolino.id.au>
To: 9front@9front.org
Subject: Re: [9front] libmp and error handling
Date: Wed, 21 Oct 2020 14:38:20 +1030	[thread overview]
Message-ID: <14F31F6EA805615CEA96977406C71209@musolino.id.au> (raw)
In-Reply-To: <D61860A06A3D437F1980A9EDAC27510F@gmail.com>

> There's both an easy way and a hard way to fix this.  The easy way
> would be to document the sysfatal call in the manpage and mention
> that sysfatal should be overridden in order to change the error
> handling.  The hard way would be to remove the sysfatal calls in
> libmp, then change the rest of the system so that it catches the
> errors.

Or split the difference and introduce something like Blethal(2).  Then
change the existing programs (less than 40 by my count) to supply
sysfatal as the handler.


  reply	other threads:[~2020-10-21  4:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-21  3:56 covertusername967
2020-10-21  4:08 ` Alex Musolino [this message]
2020-10-21  4:27   ` covertusername967
2020-10-21 13:53     ` ori
2020-10-24 23:52       ` covertusername967
2020-10-25  0:25         ` ori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14F31F6EA805615CEA96977406C71209@musolino.id.au \
    --to=alex@musolino.id.au \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).