|
From: | Bruno Haible |
Subject: | Re: [PATCH 2/5] uname: use only one OSVERSIONINFOEXA struct, use ANSI version |
Date: | Fri, 2 Oct 2009 01:52:19 +0200 |
User-agent: | KMail/1.9.9 |
Paolo Bonzini wrote: > +#include <assert.h> > + assert (have_version); No assert please. The code which is used by end users should have the same safety built-in than code used by developers. I therefore much prefer code that always verifies the assertions and calls abort() (optionally with an error message to stderr, if you like) if the assertion is not fulfilled. Bruno
[Prev in Thread] | Current Thread | [Next in Thread] |