Remove old windows support

This commit is contained in:
chase
2018-08-18 15:57:09 -05:00
committed by Jon Trulson
parent 1610ff3415
commit d12ad886c1
21 changed files with 14 additions and 932 deletions

View File

@@ -512,17 +512,6 @@ static int canexecute __PARAM__((char *path, int isfun), (path, isfun)) __OTORP_
}
else if(stat(path,&statb) < 0)
{
#ifdef _WIN32
/* check for .exe suffix */
if(errno==ENOENT)
{
stakputs(".exe");
path = stakptr(PATH_OFFSET);
if(stat(path,&statb) < 0)
goto err;
}
else
#endif /* _WIN32 */
goto err;
}
errno = EPERM;