Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] Re: [Patch] exit() value change
Home

[Freeciv-Dev] Re: [Patch] exit() value change

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Raahul Kumar <raahul_da_man@xxxxxxxxx>
Cc: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Patch] exit() value change
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 4 Feb 2002 15:21:24 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

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.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 A life? Cool! Where can I download one?


[Prev in Thread] Current Thread [Next in Thread]