pub fn isreallycom(cn: &cmdnam) -> boolExpand description
Port of isreallycom() from Src/exec.c:973 — C decl isreallycom(Cmdnam cn).
Verify that a hashed/cached cmdnamtab entry still names a real
external command (X-perm + regular file). For HASHED entries
(cn->u.cmd carries the absolute path), test the path directly;
otherwise concatenate name[0] + "/" + nam and test that.
Used by execcmd_exec to drop stale cmdnamtab hits before they
turn into a failed execve syscall.