This is the mail archive of the
mailing list for the glibc project.
NSIG wrong on Linux (amd64 and m68k, at least)
- From: Thorsten Glaser <tg at mirbsd dot de>
- To: libc-alpha at sourceware dot org
- Date: Fri, 18 May 2012 18:15:38 +0000 (UTC)
- Subject: NSIG wrong on Linux (amd64 and m68k, at least)
I just noticed NSIG was 65 on Debian/m68k with (e)glibc, and looked,
and itâs the same on amd64.
hpa said that itâs probably an off-by-one error, that someone
confused [32;64[ with [32;64] and that there are 32 RT signals
on Linux/x86_64 but changing SIGRTMAX would be messy.
The current source code still has this possible off-by-one:
â line 68: #define _NSIG 65
//mirabilos, whoâs doing too much libc work recentlyâ
FWIW, I'm quite impressed with mksh interactively. I thought it was much
*much* more bare bones. But it turns out it beats the living hell out of
ksh93 in that respect. I'd even consider it for my daily use if I hadn't
wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh