NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/59467: Missing POSIX sig2str(3) & str2sig(3) calls
The following reply was made to PR lib/59467; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: lib/59467: Missing POSIX sig2str(3) & str2sig(3) calls
Date: Mon, 16 Jun 2025 00:35:25 +0700
Date: Sun, 15 Jun 2025 13:25:00 +0000 (UTC)
From: rbranco%suse.de@localhost
Message-ID: <20250615132500.C9EE91A9241%mollari.NetBSD.org@localhost>
| Missing POSIX sig2str(3) & str2sig(3) calls.
This is a duplicate of PR lib/59141 which I plan on (probably)
handling someday...
Those functions are ancient, from a time when "the buffer will
be bit enough" was handled by magic, and really are very poorly
designed. NetBSD has better.
But I will, when I get around to it, implement those ancient
ones, in terms of our better version, just to keep any apps
that expect them to be available, happy.
| and optionally adapt fstat, kill & others.
That would certainly be the wrong thing to do, any code that
already handles signal names is almost certainly doing a better
job of it than can be done using those crufty interfaces - the
only reason to have them is for code that wants to use them,
nothing should ever be being converted to use those interfaces.
kre
Home |
Main Index |
Thread Index |
Old Index