All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Nicolas Pitre <nico@fluxnic.net>
Cc: git@vger.kernel.org
Subject: Re: Completion of error handling
Date: Tue, 02 Feb 2010 20:42:58 +0100	[thread overview]
Message-ID: <4B688042.8090400@web.de> (raw)
In-Reply-To: <alpine.LFD.2.00.1002021424550.1681@xanadu.home>


> At least on Linux, most of those functions simply cannot fail.

Would you like to support software environments that work without a
famous out-of-memory killer?


> There is just no dynamic memory allocation involved.
>   

I find this opinion strange.


> All other errors are normally due to bad code.
>   

I suggest to avoid unchecked function calls.
Would you like to detect every error situation as early as possible?

Regards,
Markus

  reply	other threads:[~2010-02-02 19:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-02 13:11 Completion of error handling Markus Elfring
2010-02-02 18:26 ` Nicolas Pitre
2010-02-02 18:49   ` Markus Elfring
2010-02-02 19:27     ` Nicolas Pitre
2010-02-02 19:42       ` Markus Elfring [this message]
2010-02-02 19:49         ` Avery Pennarun
2010-02-02 20:10           ` Markus Elfring
2010-02-02 20:25             ` Avery Pennarun
2010-02-02 21:26               ` Markus Elfring
2010-02-02 21:27                 ` Avery Pennarun
2010-02-02 21:55                   ` Markus Elfring
2010-02-11 13:08   ` Markus Elfring
2010-02-16 10:56     ` Andreas Ericsson
2010-02-18 15:11       ` Markus Elfring

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=4B688042.8090400@web.de \
    --to=markus.elfring@web.de \
    --cc=git@vger.kernel.org \
    --cc=nico@fluxnic.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.