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: Lars Ingebrigtsen
Subject: Re: master ed84f24a21: Make `signal-process' allow completing over signal names
Date: Mon, 27 Jun 2022 09:10:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Po Lu <luangruo@yahoo.com> 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).

I wasn't able to convince myself that SIGRTMIN/MAX was defined on all
systems (the ones that have an OS-defined sig2str), so I just used
magical numbers (that are way too big on any OS) instead.  But if you
want to adjust, please go ahead.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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