www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/27/10:25:13

Xref: news2.mv.net comp.os.msdos.djgpp:7919
From: Ian Miller <itmiller AT dra DOT hmg DOT gb>
Newsgroups: comp.os.msdos.djgpp
Subject: abort() disrupts Win95
Date: Tue, 27 Aug 1996 12:53:58 +0100
Organization: DRA HASN
Lines: 20
Message-ID: <3222E1D6.41C67EA6@dra.hmg.gb>
NNTP-Posting-Host: 146.80.115.106
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

The following program, compiled as C in a Win95 DOS box, writes
"Abort!" and then stops as one would expect. But when I hit return
at the next DOS prompt Win95 kills my DOS box and tells me I should
stop all programs and reboot (although I don't seem to have to). If
I run it under old DOS, there is no problem.

#include <stdlib.h>

int main(int argc, char** argv)
{
	abort();
}

Not too complicated, huh?

Could somebody else try this on Win95 to see whether this is a
general problem or if it is just me, please?
-- 
Ian Miller, Dorset, AFRICA
DJGPP 2.00, Win95 DOS box (LFN=n), 486DX4/100, 24Mbytes RAM

- Raw text -


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