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

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

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] [Patch] exit() value change
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 4 Feb 2002 10:52:56 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

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.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Make it idiot-proof and someone will make a better idiot."

Attachment: exit_values1.diff.gz
Description: GNU Zip compressed data


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