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:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: unistd_wildcard_expand.c,v 1.16 2006-01-08 12:04:27 obarthel Exp $
|
||||
* $Id: unistd_wildcard_expand.c,v 1.17 2006-04-05 08:39:46 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@@ -186,7 +186,7 @@ __wildcard_expand_init(void)
|
||||
{
|
||||
ap = AllocDosObjectTags(DOS_ANCHORPATH,
|
||||
ADO_Strlen, 2 * MAXPATHLEN,
|
||||
ADO_Mask, (__check_abort_enabled) ? SIGBREAKF_CTRL_C : 0,
|
||||
ADO_Mask, (__check_abort_enabled) ? __break_signal_mask : 0,
|
||||
TAG_END);
|
||||
|
||||
if(ap == NULL)
|
||||
@@ -214,7 +214,7 @@ __wildcard_expand_init(void)
|
||||
ap->ap_Strlen = MAXPATHLEN;
|
||||
|
||||
if(__check_abort_enabled)
|
||||
ap->ap_BreakBits = SIGBREAKF_CTRL_C;
|
||||
ap->ap_BreakBits = __break_signal_mask;
|
||||
}
|
||||
#endif /* __amigaos4__ */
|
||||
|
||||
@@ -308,7 +308,7 @@ __wildcard_expand_init(void)
|
||||
{
|
||||
__set_process_window(old_window_pointer);
|
||||
|
||||
SetSignal(SIGBREAKF_CTRL_C,SIGBREAKF_CTRL_C);
|
||||
SetSignal(__break_signal_mask,__break_signal_mask);
|
||||
__check_abort();
|
||||
|
||||
old_window_pointer = __set_process_window((APTR)-1);
|
||||
|
||||
Reference in New Issue
Block a user