[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 1/9] xl: Improve return and exit codes of memory related functions.



On Wed, 2016-02-24 at 14:55 +0100, Olaf Hering wrote:
> On Wed, Feb 24, Harmandeep Kaur wrote:
> 
> > -ÂÂÂÂÂÂÂÂexit(2);
> > +ÂÂÂÂÂÂÂÂexit(EXIT_FAILURE);
> 
> The commit message should state why changing the value is fine.
> I dont know if anyone actually cares about the exact value.
> 
This has been discussed before here on the mailing list, and there
already are patches committed that do this same thing in a bunch of
cases (and, of course, the aim is consistently doing it everywhere).

Previous discussion is here:
Âhttp://lists.xen.org/archives/html/xen-devel/2015-10/msg02497.html
Âhttp://lists.xen.org/archives/html/xen-devel/2015-10/msg02501.html
Âhttp://lists.xen.org/archives/html/xen-devel/2015-10/msg02509.html

And, even before, here:
Âhttp://lists.xenproject.org/archives/html/xen-devel/2015-03/msg01336.html
Âhttp://lists.xenproject.org/archives/html/xen-devel/2015-03/msg01341.html

I'm quit sure there is no one doing anything useful with exit codes
right now, as they're so inconsistent that it would just be plain
impossible! :-)

Anyway, Harmandeep, can you summarize better (and maybe reference)
these previous discussions and your previous related work in the cover
letter of this series (and any other similar one that may follow)?

Regards,
Dario
-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.