delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/12/06:18:45

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: a few questions...
Date: Fri, 12 Sep 1997 10:26:50 +0200
Organization: TU Chemnitz-Zwickau
Lines: 32
Message-ID: <3418FCCA.4166984E@Mathematik.TU-Chemnitz.DE>
References: <5v87rt$2j4$1 AT kurica DOT wt DOT com DOT au> <0Zxy$AA7IBG0EwOE AT jenkinsdavid DOT demon DOT co DOT uk>
NNTP-Posting-Host: pandora.hrz.tu-chemnitz.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

David Jenkins wrote:
> 
> I only ever run my stuff from Win95, I've recently discovered that Win95
> handles certain errors better than Dos does. See below about the game

Oh please do say such statements. The better wording would be

Win95 silently ignores fatal errors better than DOS to let you
think that Win95 has less bugs than DOS.

To illustrate this simply run the following program
and let me know if you think that it is OK to ignore
such an fatal error:

#include <string.h>
#include <stdlib.h>

int main()
{
  char *s=NULL;
  strcpy(s, "I'm writing now to a NULL pointer\n");
  return 0;
}

Robert
-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


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