[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39089] Incomplete list of OS signals in the b
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #39089] Incomplete list of OS signals in the builtin SIG function |
Date: |
Mon, 27 May 2013 20:43:46 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15 |
URL:
<http://savannah.gnu.org/bugs/?39089>
Summary: Incomplete list of OS signals in the builtin SIG
function
Project: GNU Octave
Submitted by: sebald
Submitted on: Mon 27 May 2013 08:43:45 PM GMT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
The files siglist.c and sighandlers.cc are incomplete as far as a list of
signals SIGxxxxxxx that could appear in the Unix/Linux header file signals.h
(or bits/signum.h). For example, typing the following commands:
s = SIG;
f = fieldnames(s);
n = struct2cell(s);
[sn, in] = sort(cell2mat(n));
f(in)
n(in)
will produce a list of signals that doesn't quite match what is inside the
signum.h header file on my system. These are missing:
#define SIGKILL 9 /* Kill, unblockable (POSIX). */
#define SIGSTKFLT 16 /* Stack fault. */
#define SIGUNUSED 31
So the attached changeset adds a few of these signals so that the SIG function
(and the sorting above) produces the same list that appears in my signum.h.
However, this is not a complete list for everyone's system as there are more
entries listed here:
http://dfrench.hypermart.net/fancyIndex/Tools/signal2.html
for example, and still more obscure ones floating about some of which already
appear in siglist.c and/or sighandlers.cc.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 27 May 2013 08:43:45 PM GMT Name:
octave-signal_missing-2013may27.patch Size: 2kB By: sebald
<http://savannah.gnu.org/bugs/download.php?file_id=28190>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39089>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #39089] Incomplete list of OS signals in the builtin SIG function,
Dan Sebald <=
- [Octave-bug-tracker] [bug #39089] Incomplete list of OS signals in the builtin SIG function, John W. Eaton, 2013/05/30
- [Octave-bug-tracker] [bug #39089] Incomplete list of OS signals in the builtin SIG function, Dan Sebald, 2013/05/30
- [Octave-bug-tracker] [bug #39089] Incomplete list of OS signals in the builtin SIG function, Dan Sebald, 2013/05/30
- [Octave-bug-tracker] [bug #39089] Incomplete list of OS signals in the builtin SIG function, Dan Sebald, 2013/05/30
- [Octave-bug-tracker] [bug #39089] Incomplete list of OS signals in the builtin SIG function, Dan Sebald, 2013/05/30
- [Octave-bug-tracker] [bug #39089] Incomplete list of OS signals in the builtin SIG function, Dan Sebald, 2013/05/30
- [Octave-bug-tracker] [bug #39089] Incomplete list of OS signals in the builtin SIG function, Dan Sebald, 2013/05/31
- [Octave-bug-tracker] [bug #39089] Incomplete list of OS signals in the builtin SIG function, Dan Sebald, 2013/05/31
- [Octave-bug-tracker] [bug #39089] Incomplete list of OS signals in the builtin SIG function, John W. Eaton, 2013/05/31
- [Octave-bug-tracker] [bug #39089] Incomplete list of OS signals in the builtin SIG function, John W. Eaton, 2013/05/31