www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/10/17/10:29:51

Date: Sun, 17 Oct 1999 15:57:18 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Stromberg <Martin DOT Stromberg AT lu DOT erisoft DOT se>
cc: djgpp-workers AT delorie DOT com
Subject: Re: exit() makes my program crash!!!! (FINAL comment) (fwd)
In-Reply-To: <199910171324.PAA23653@propus.lu.erisoft.se>
Message-ID: <Pine.SUN.3.91.991017155607.25856B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 17 Oct 1999, Martin Stromberg wrote:

> > One consideration against this is that someone might write a program to 
> > switch the display into some special mode and expect it to stick.
> 
> Let's make it default and add flag so those who don't want this
> (undefault case) can disable this (like the stat() flags).

Calling _exit instead of exit would be an easier way.

But if there are popular programs out there that rely on exit not to 
change the mode, I'd hesitate to add that.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019