Chris Down wrote on Sat, 15 Feb 2020 09:52 -0400:
There are two ways to solve this issue:
1. Add special handling to `kill` to avoid this case. See this patch[0]
for a version that does that.
2. Change how isanum behaves. Since the only two call sites that use it
both seem like they should handle the case where the input char array
is empty, that seems like a reasonable overall change to me, but
either works.
Thanks for the patch and the revisions. I prefer #2. If no one
objects (or says POSIX requires «kill ''» to be equivalent to
«kill 0»…) I'll apply it.