simple fix for 'del foo' where foo is a folder.
authorBrandon Turner <turnerb7@msu.edu>
Sun, 11 Sep 2005 20:26:36 +0000 (20:26 +0000)
committerBrandon Turner <turnerb7@msu.edu>
Sun, 11 Sep 2005 20:26:36 +0000 (20:26 +0000)
svn path=/trunk/; revision=17807

reactos/subsys/system/cmd/del.c

index 35a240d..5e2d758 100644 (file)
@@ -201,7 +201,7 @@ DeleteFiles(LPTSTR FileName, DWORD* dwFlags, DWORD dwAttrFlags)
                }
        }
 
-        GetFullPathName (FileName,
+        GetFullPathName (szFileName,
                          MAX_PATH,
                          szFullPath,
                          &pFilePart);