mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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, '?'))
|
if (strchr(path, '*') || strchr(path, '?'))
|
||||||
{
|
{
|
||||||
__set_errno(EINVAL);
|
__set_errno(ENOENT);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue