[arch-general] Missing sys_siglist declaration
Hi, on an arch machine updated yesterday, my XEmacs does not build because the 'sys_siglist' declaration is gone from <string.h>, where the strsignal(3) man page says it should be. Searching the usual suspects didn't bring up anything. What did I miss? Cheerio, Hauke -- The ASCII Ribbon Campaign Hauke Fath () No HTML/RTF in email Institut für Nachrichtentechnik /\ No Word docs in email TU Darmstadt Respect for open standards Ruf +49-6151-16-21344
A bit of Googling would suggest that sys_siglist is only available on BSD.
On 10/1/20 11:45 AM, Hauke Fath wrote:
Hi,
on an arch machine updated yesterday, my XEmacs does not build because the 'sys_siglist' declaration is gone from <string.h>, where the strsignal(3) man page says it should be.
Searching the usual suspects didn't bring up anything. What did I miss?
From the glibc 2.32 release notes: Deprecated and removed features, and other changes affecting compatibility: [...] * The deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev are no longer available to newly linked binaries, and their declarations have been removed from <string.h>. They are exported solely as compatibility symbols to support old binaries. All programs should use strsignal instead. https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b1ccfc061feee9ce61644... -- Eli Schwartz Bug Wrangler and Trusted User
On Thu, 1 Oct 2020 13:57:09 -0400, Eli Schwartz via arch-general wrote:
From the glibc 2.32 release notes:
Deprecated and removed features, and other changes affecting compatibility: [...] * The deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev are no longer available to newly linked binaries, and their declarations have been removed from <string.h>. They are exported solely as compatibility symbols to support old binaries. All programs should use strsignal instead.
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b1ccfc061feee9ce61644... Thanks! I'll look into that. As I said, the strsignal(3) man page still refers to sys_siglist, so that would need updating. Cheerio, Hauke -- The ASCII Ribbon Campaign Hauke Fath () No HTML/RTF in email Institut für Nachrichtentechnik /\ No Word docs in email TU Darmstadt Respect for open standards Ruf +49-6151-16-21344
On 10/1/20 3:28 PM, Hauke Fath wrote:
On Thu, 1 Oct 2020 13:57:09 -0400, Eli Schwartz via arch-general wrote:
From the glibc 2.32 release notes:
Deprecated and removed features, and other changes affecting compatibility: [...] * The deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev are no longer available to newly linked binaries, and their declarations have been removed from <string.h>. They are exported solely as compatibility symbols to support old binaries. All programs should use strsignal instead.
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b1ccfc061feee9ce61644...
Thanks! I'll look into that. As I said, the strsignal(3) man page still refers to sys_siglist, so that would need updating.
Indeed it does, you can report a documentation bug here: https://www.kernel.org/doc/man-pages/reporting_bugs.html Thanks! -- Eli Schwartz Bug Wrangler and Trusted User
On Thu, 1 Oct 2020 15:30:44 -0400, Eli Schwartz via arch-general wrote:
Indeed it does, you can report a documentation bug here: https://www.kernel.org/doc/man-pages/reporting_bugs.html
Done. Cheerio, Hauke -- The ASCII Ribbon Campaign Hauke Fath () No HTML/RTF in email Institut für Nachrichtentechnik /\ No Word docs in email TU Darmstadt Respect for open standards Ruf +49-6151-16-21344
participants (3)
-
Eli Schwartz
-
Hauke Fath
-
Jesse Jaara