allocate memory for the string. thanks to thomas for finding it.

svn path=/trunk/; revision=18233
This commit is contained in:
Brandon Turner 2005-10-03 00:26:39 +00:00
parent b736dee2b9
commit f04df80d72

View file

@ -535,7 +535,7 @@ BOOL DeleteFolder(LPTSTR FileName)
}
INT cmd_rmdir (LPTSTR cmd, LPTSTR param)
{
LPTSTR dir; /* pointer to the directory to change to */
TCHAR dir[MAX_PATH]; /* pointer to the directory to change to */
char ch;
INT args;
LPTSTR *arg = NULL;