- Return ENOENT if the path name contains '*' or '?'.

svn path=/trunk/; revision=4856
This commit is contained in:
Hartmut Birr 2003-06-06 21:04:13 +00:00
parent 705db1eb52
commit a72bd6590c

View file

@ -22,7 +22,7 @@ int _stat(const char* path, struct stat* buffer)
if (strchr(path, '*') || strchr(path, '?'))
{
__set_errno(EINVAL);
__set_errno(ENOENT);
return -1;
}