Source-Changes archive

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

Re: CVS commit: src/share/misc



> > Log Message:
> > Recommend EXIT_SUCCESS and EXIT_FAILURE for exit status, instead of directly
> > using 0 and 1 values, respectively.
> 
> Is there concensus on this? It seems unnecessarily restrictive,
> even merely as a guideline.

Dunno, I sort of prefer 0 and 1 - otherwise you just have to go and
lookup how the hash defines are used.

Nearly as bad as having:
#define FIVE 5
because someone said you can't have constants!

        David

-- 
David Laight: david%l8s.co.uk@localhost



Home | Main Index | Thread Index | Old Index