mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 17:35:07 +00:00
[KERNEL32]
- Fix SetCurrentDirectoryA to return success when setting the current directory again See issue #6874 for more details. svn path=/trunk/; revision=56490
This commit is contained in:
parent
1cb2379b98
commit
f6abb6c7ac
|
@ -2205,7 +2205,7 @@ SetCurrentDirectoryA(IN LPCSTR lpPathName)
|
|||
DirName = Basep8BitStringToStaticUnicodeString(lpPathName);
|
||||
if (!DirName) return FALSE;
|
||||
|
||||
if (CheckForSameCurdir(DirName)) return FALSE;
|
||||
if (CheckForSameCurdir(DirName)) return TRUE;
|
||||
|
||||
Status = RtlSetCurrentDirectory_U(DirName);
|
||||
if (NT_SUCCESS(Status)) return TRUE;
|
||||
|
|
Loading…
Reference in a new issue