=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: shell32: Use MAX_PATH for a DOS path .
Alexandre Julliard
julliard at winehq.org
Mon Oct 24 13:43:56 CDT 2011
Module: wine
Branch: master
Commit: 3a9cfa544a6c5e3eca05b5230dd413123444ba2c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3a9cfa544a6c5e3eca05b5230dd413123444ba2c
Author: André Hentschel <nerv at dawncrow.de>
Date: Mon Oct 24 19:18:16 2011 +0200
shell32: Use MAX_PATH for a DOS path.
---
dlls/shell32/shfldr_unixfs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/shfldr_unixfs.c b/dlls/shell32/shfldr_unixfs.c
index 606fa84..2dc5920 100644
--- a/dlls/shell32/shfldr_unixfs.c
+++ b/dlls/shell32/shfldr_unixfs.c
@@ -369,7 +369,7 @@ static inline BOOL UNIXFS_is_pidl_of_type(LPCITEMIDLIST pIDL, SHCONTF fFilter) {
static BOOL UNIXFS_get_unix_path(LPCWSTR pszDosPath, char *pszCanonicalPath)
{
char *pPathTail, *pElement, *pCanonicalTail, szPath[FILENAME_MAX], *pszUnixPath, has_failed = 0, mb_path[FILENAME_MAX];
- WCHAR wszDrive[] = { '?', ':', '\\', 0 }, dospath[PATH_MAX], *dospath_end;
+ WCHAR wszDrive[] = { '?', ':', '\\', 0 }, dospath[MAX_PATH], *dospath_end;
int cDriveSymlinkLen;
void *redir;
More information about the wine-cvs
mailing list