https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4038773f45d2c0747b7e213cd4fd249162c84dd2

commit 4038773f45d2c0747b7e213cd4fd249162c84dd2
Author:     Eric Kohl <[email protected]>
AuthorDate: Tue May 15 22:58:34 2018 +0200
Commit:     Eric Kohl <[email protected]>
CommitDate: Tue May 15 22:58:34 2018 +0200

    [USETUP] Disable install path test that may tests
---
 base/setup/usetup/filesup.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/base/setup/usetup/filesup.c b/base/setup/usetup/filesup.c
index a325df8e2a..8007756191 100644
--- a/base/setup/usetup/filesup.c
+++ b/base/setup/usetup/filesup.c
@@ -142,12 +142,12 @@ IsValidPath(
     // TODO: Add check for 8.3 too.
 
     /* Path must be at least 2 characters long */
-    if (Length < 2)
-        return FALSE;
+//    if (Length < 2)
+//        return FALSE;
 
     /* Path must start with a backslash */
-    if (InstallDir[0] != L'\\')
-        return FALSE;
+//    if (InstallDir[0] != L'\\')
+//        return FALSE;
 
     /* Path must not end with a backslash */
     if (InstallDir[Length - 1] == L'\\')

Reply via email to