Phil Lodwick : shell32:
SHCreateDirectoryEx can create a non-nested directory.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jun 8 05:06:14 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 5a13cba8b690a03e07a4f74729d9c5b8601df36d
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=5a13cba8b690a03e07a4f74729d9c5b8601df36d
Author: Phil Lodwick <Phil.Lodwick at EFI.COM>
Date: Wed Jun 7 14:08:38 2006 -0500
shell32: SHCreateDirectoryEx can create a non-nested directory.
---
dlls/shell32/shlfileop.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c
index 426c022..055b91d 100644
--- a/dlls/shell32/shlfileop.c
+++ b/dlls/shell32/shlfileop.c
@@ -559,7 +559,8 @@ int WINAPI SHCreateDirectoryExW(HWND hWn
{
ret = SHNotifyCreateDirectoryW(path, sec);
/* Refuse to work on certain error codes before trying to create directories recursively */
- if (ret != ERROR_FILE_EXISTS &&
+ if (ret != ERROR_SUCCESS &&
+ ret != ERROR_FILE_EXISTS &&
ret != ERROR_ALREADY_EXISTS &&
ret != ERROR_FILENAME_EXCED_RANGE)
{
More information about the wine-cvs
mailing list