Author: hpoussin Date: Mon May 12 04:40:08 2008 New Revision: 33467
URL: http://svn.reactos.org/svn/reactos?rev=33467&view=rev Log: "\." always exists Fixes "copy freeldr.ini con:" command
Modified: trunk/reactos/base/shell/cmd/copy.c
Modified: trunk/reactos/base/shell/cmd/copy.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/copy.c?rev=3... ============================================================================== --- trunk/reactos/base/shell/cmd/copy.c [iso-8859-1] (original) +++ trunk/reactos/base/shell/cmd/copy.c [iso-8859-1] Mon May 12 04:40:08 2008 @@ -743,7 +743,7 @@ _tcscpy(tmpDestPath,szDestPath);
/* Can't put a file into a folder that isnt there */ - if(!IsExistingDirectory(szDestPath)) + if(_tcscmp (szDestPath, _T("\\.\")) && !IsExistingDirectory(szDestPath)) { ConOutFormatMessage (GetLastError (), szSrcPath); freep (arg);