From a72bd6590c6c07e0c39d6da729e164c28b4fff3b Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Fri, 6 Jun 2003 21:04:13 +0000 Subject: [PATCH] - Return ENOENT if the path name contains '*' or '?'. svn path=/trunk/; revision=4856 --- reactos/lib/msvcrt/sys_stat/stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/lib/msvcrt/sys_stat/stat.c b/reactos/lib/msvcrt/sys_stat/stat.c index 7dc1b672a6c..c8c0c40ee5b 100644 --- a/reactos/lib/msvcrt/sys_stat/stat.c +++ b/reactos/lib/msvcrt/sys_stat/stat.c @@ -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; }