* spawn.cc (find_exec): Only return files with execute permission set

if ntsec is on.  Don't check execute permission of Windows batch files.
	(av::fixup): Handle empty files gracefully.  Drop execute permission
	test here.
	* path.cc (suffix_scan::next): Don't skip any suffix on first run.
This commit is contained in:
Corinna Vinschen
2006-01-31 21:09:43 +00:00
parent d968b3c86f
commit 0ad7b0eb02
3 changed files with 27 additions and 12 deletions

View File

@@ -3118,7 +3118,7 @@ suffix_scan::next ()
}
while (suffixes && suffixes->name)
if (!suffixes->addon)
if (nextstate == SCAN_EXTRALNK && !suffixes->addon)
suffixes++;
else
{