From 6b218f4e59bc505ae417a7a2d14d0643139c8189 Mon Sep 17 00:00:00 2001 From: Brandon Turner Date: Sun, 11 Sep 2005 20:26:36 +0000 Subject: [PATCH] simple fix for 'del foo' where foo is a folder. svn path=/trunk/; revision=17807 --- reactos/subsys/system/cmd/del.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);