Skip to content

Commit

Permalink
PORT: Added FreeBSD signal names to the name/number map.
Browse files Browse the repository at this point in the history
Contributed by Dewayne Geraghty
  • Loading branch information
JanWielemaker committed Oct 17, 2024
1 parent e3c5913 commit 34017b7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/pl-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,18 @@ static struct signame
#ifdef SIGPWR
{ SIGPWR, "pwr", 0},
#endif
#ifdef SIGEMT
{ SIGEMT, "emt", 0},
#endif
#ifdef SIGSYS
{ SIGSYS, "sys", 0},
#endif
#ifdef SIGWINCH
{ SIGWINCH, "winch", 0},
#endif
#ifdef SIGINFO
{ SIGINFO, "info", 0},
#endif
#endif /*HAVE_OS_SIGNALS*/

/* The signals below here are recorded as Prolog interrupts, but
Expand Down

1 comment on commit 34017b7

@JanWielemaker
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been mentioned on SWI-Prolog. There might be relevant details there:

https://swi-prolog.discourse.group/t/signals-reported-as-unknown/8540/2

Please sign in to comment.