Bug 000291

When Created: 07/06/1999 20:00:30
Against DJGPP version: 2.02
By whom:
Abstract: abort has a bug
The following code makes the program crash
#include <stdlib.h>

int main()
 return 0;

Note added: 07/12/1999 14:00:48
By whom:
After some email discussion with the poster, here's more info.

The basic problem is that there has been a change of behaviour in 'abort'
from version 2.01 to 2.02: it now calls raise(SIGABRT). This was necessary
to match the ANSI standard definition of abort().

This change was not updated to the 2.02 version of the docs.

Solution added: 07/12/1999 14:00:02
By whom:
The docs have been updated for the next release, already.

To avoid the crash dump, you can install a signal handler for SIGABRT.

Fixed in version on 07/12/1999 14:00:55
By whom:

  webmaster     delorie software   privacy  
  Copyright 2010   by DJ Delorie     Updated Jul 2010