1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- The default break signal mask (SIGBREAKF_CTRL_C) is no longer

hard-coded. You can override it at link time with a different
  variable value for __break_signal_mask. This may have to be
  augmented by an API for changing the value.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15094 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2006-04-05 08:39:46 +00:00
parent 55ab845de0
commit 91b4f288f9
13 changed files with 94 additions and 29 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: signal_checkabort.c,v 1.3 2006-01-08 12:04:24 obarthel Exp $
* $Id: signal_checkabort.c,v 1.4 2006-04-05 08:39:45 obarthel Exp $
*
* :ts=4
*
@ -44,6 +44,6 @@
void
__check_abort(void)
{
if(__check_abort_enabled && FLAG_IS_SET(SetSignal(0,SIGBREAKF_CTRL_C),SIGBREAKF_CTRL_C))
if(__check_abort_enabled && FLAG_IS_SET(SetSignal(0,__break_signal_mask),__break_signal_mask))
raise(SIGINT);
}