From: Brandon Turner Date: Sun, 11 Sep 2005 20:26:36 +0000 (+0000) Subject: simple fix for 'del foo' where foo is a folder. X-Git-Tag: ReactOS-0.2.8~613 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=6b218f4e59bc505ae417a7a2d14d0643139c8189 simple fix for 'del foo' where foo is a folder. svn path=/trunk/; revision=17807 --- diff --git a/reactos/subsys/system/cmd/del.c b/reactos/subsys/system/cmd/del.c index 35a240d7f1f..5e2d758d088 100644 --- a/reactos/subsys/system/cmd/del.c +++ b/reactos/subsys/system/cmd/del.c @@ -201,7 +201,7 @@ DeleteFiles(LPTSTR FileName, DWORD* dwFlags, DWORD dwAttrFlags) } } - GetFullPathName (FileName, + GetFullPathName (szFileName, MAX_PATH, szFullPath, &pFilePart);