delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/08/14:27:36

From: abies AT pg DOT gda DOT pl ("Artur 'Revinor' Biesiadowski")
Subject: Crash problem
8 Jan 1997 14:27:36 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <Pine.GSO.3.95L01at.970108151435.27399D-100000.cygnus.gnu-win32@sunrise>
Mime-Version: 1.0
X-Sender: abies AT sunrise
Original-To: Cygnus ML <gnu-win32 AT cygnus DOT com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Here is small program that crashes cygwin.

---- cut here - try.cc ------
int main()
{
    struct rlimit rl;
    getrlimit( RLIMIT_CORE, &rl );
    rl.rlim_cur = rl.rlim_max;
    setrlimit( RLIMIT_CORE, &rl );
}
------- cut here
Now try to compile this with
g++ try.cc
It should give warning about non-declared types, but g++ instead of it
crashes itself and sometimes all Windows ( I use Win95 )

Is this a 'feature' or bug ?

Artur Biesiadowski
<abies AT sunrise DOT pg DOT gda DOT pl>

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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