octave-bug-tracker
[Top][All Lists]
Advanced

[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: Sun, 02 Jun 2013 19:30:15 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

Follow-up Comment #12, bug #39089 (project octave):

The gnulib sig2str.h file has been updated for C++ use, but I don't know how
long that takes to filter through the gnulib-hg repository.

Attached is a changeset that will use sig2str() to get every signal used.  The
list is then sorted alphabetically.  EXIT is excluded, SIGUNUSED is not
checked for.  There are no duplicate definitions, so behavior is slightly
different than the current behavior.  If we want the behavior to be exactly
the same, after the loop using sig2str() we can add a few #ifdef's to check
for the known duplicates.

The gnulib list is considering the issue of non-uniquely defined signals.  So,
we may want to wait on gnulib to see if there is a change, or simply go with
the attached changeset and make small mods at a later date if gnulib changes.

(file #28225)
    _______________________________________________________

Additional Item Attachment:

File name: octave-sighandlers-2013jun02.patch Size:12 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39089>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]