Mail Archives: djgpp/1993/07/28/09:59:00
Hello DJ,
Forget about the flag inside the 'abort()' routine.
Here is the patch that should do the job...
Kind regards, Pieter Kunst.
.^^^^^^^^ _____________________________________
| | / Pieter Kunst (P.J.) \
| _ _| / Philips Research Laboratories, \
.--(o)(o) / Building WY3, Prof. Holstlaan 4, \
|@ _) / 5656 AA Eindhoven, The Netherlands. |
| ,___| / e-mail: kunst AT prl DOT philips DOT nl /
| / \_______________________________________________/
/____\
---------------------------------------------------------------------------
c:\djgpp\libsrc\c\lib\abort.c
---------------------------------------------------------------------------
/*
** Copyright (C) 1991 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
**
** This file is distributed under the terms listed in the document
** "copying.dj", available from DJ Delorie at the address above.
** A copy of "copying.dj" should accompany this file; if not, a copy
** should be available from where this file was obtained. This file
** may not be distributed without a verbatim copy of "copying.dj".
**
** This file is distributed WITHOUT ANY WARRANTY; without even the implied
** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
static char msg[] = "Abort!\n";
void
abort()
{
write(2,msg,sizeof(msg));
_cleanup();
_exit(1);
}
---------------------------------------------------------------------------
- Raw text -