R: Is it really necessary for fatal() to dump core?

From: Guido Serassio <guido.serassio_at_acmeconsulting.it>
Date: Tue, 19 May 2009 09:37:18 +0200

> -----Messaggio originale-----
> Da: adrian.chadd_at_gmail.com [mailto:adrian.chadd_at_gmail.com] Per conto di
> Adrian Chadd
> Inviato: marted́ 19 maggio 2009 6.26
> A: Mark Nottingham
> Cc: Squid Developers
> Oggetto: Re: Is it really necessary for fatal() to dump core?
>
> just make that behaviour configurable?
>
> core_on_fatal {on|off}
 
+1

Regards

Guido

>
> Adrian
>
> 2009/5/19 Mark Nottingham <mnot_at_yahoo-inc.com>:
> > tools.c:fatal() dumps core because it calls abort.
> >
> > Considering that the core can be quite large (esp. on a 64bit system),
> and
> > that there's fatal_dump() as well if you really want one, can we just
> make
> > fatal() exit(1) instead of abort()ing?
> >
> > Cheers,
> >
> > --
> > Mark Nottingham       mnot_at_yahoo-inc.com
> >
> >
> >

Guido Serassio

Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: info_at_acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Tue May 19 2009 - 07:38:02 MDT

This archive was generated by hypermail 2.2.0 : Tue May 19 2009 - 12:00:02 MDT