mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
- Return ENOENT if the path name contains '*' or '?'.
svn path=/trunk/; revision=4856
This commit is contained in:
parent
705db1eb52
commit
a72bd6590c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue