emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master ed84f24a21: Make `signal-process' allow completing over signa


From: Po Lu
Subject: Re: master ed84f24a21: Make `signal-process' allow completing over signal names
Date: Mon, 27 Jun 2022 15:04:28 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Oh, you mean the loop ends one too early?  Yes, that's true.  Can't have
> new code without at least one off-by-one error; that's illegal.

I also meant that the loop should end at NSIG - 1, or SIGRTMAX, instead
of an arbitrary number (254).

> That was my original assumption, but we apparently check the OS for
> sig2str via autoconf, I discovered yesterday.  config.h:
>
> /* Define to 1 if you have the `sig2str' function. */
> /* #undef HAVE_SIG2STR */

Ah, now I remember.  It also exists on some proprietary Unices and very
old versions of GNU/Linux.


reply via email to

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