+ /* If we found the command as itself by looking through $PATH, it
+ probably doesn't exist. Check whether or not the command is an
+ executable file. If it's not, don't report a match. */
+ if (STREQ (full_path, command))
+ {
+ f = file_status (full_path);
+ if ((f & FS_EXECABLE) == 0)
+ {
+ free (full_path);
+ full_path = (char *)NULL;
+ if (all == 0)
+ break;
+ }
+ else if (verbose >= 2)
+ full_path = sh_makepath ((char *)NULL, full_path, MP_DOCWD);
+ }
+