Mailinglist Archive: zypp-devel (57 mails)
| < Previous | Next > |
[zypp-devel] Re: sat-solver must not abort()
- From: Klaus Kaempf <kkaempf@xxxxxxx>
- Date: Tue, 8 Jan 2008 17:06:17 +0100
- Message-id: <20080108160617.GA24144@xxxxxxxxxxxxx>
* Michael Schroeder <mls@xxxxxxx> [Jan 08. 2008 17:03]:
Then please use assert().
Klaus
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
On Tue, Jan 08, 2008 at 05:00:15PM +0100, Klaus Kaempf wrote:
The current sat-solver implementation (solver.c) has almost
30 (thirty !) calls to abort().
Since C does not support exceptions, these calls should be replaced
by proper return values.
These are no exceptions, but assertions. It makes no sense to return
something.
Then please use assert().
Klaus
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |