[Freeciv-Dev] Re: [Patch] exit() value change
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, Feb 04, 2002 at 06:31:07AM -0800, Raahul Kumar wrote:
>
> --- Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> > On Mon, Feb 04, 2002 at 04:26:21AM -0800, Raahul Kumar wrote:
> > >
> > > --- Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> > > >
> > > > The patch replace exit(1) with exit(EXIT_FAILURE) and exit(0) with
> > > > exit(EXIT_SUCCESS). Although on most unix platforms this is the same
> > > > there are systems (Ultrix 2.2 for example) which have the values
> > > > exchanged and it is even more readable.
> > >
> > > Just curious, under what hardware does Ultrix 2.2 run? I can't spot it
> > > on the freeciv reqs page.
> >
> > I'm not old enough to know this by first hand. Google found a
> > uVax. Even if freeciv doesn't run on such a hardware it is cleaner to
> > use the macros IMHO.
> >
>
> The macros are fine.
> I assume you are going to change the other return statements as well
> for a little consistency.
Have I missed any?
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"The very concept of PNP is a lovely dream that simply does not translate to
reality. The confusion of manually doing stuff is nothing compared to the
confusion of computers trying to do stuff and getting it wrong, which they
gleefully do with great enthusiasm."
-- Jinx Tigr in the SDM
|
|