Author: jmorlan
Date: Mon Mar 23 17:48:04 2009
New Revision: 40185
URL:
http://svn.reactos.org/svn/reactos?rev=40185&view=rev
Log:
- In cmd's PUSHD and POPD commands, change directory using _tchdir.
Modified:
trunk/reactos/base/shell/cmd/dirstack.c
Modified: trunk/reactos/base/shell/cmd/dirstack.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/dirstack.c?…
==============================================================================
--- trunk/reactos/base/shell/cmd/dirstack.c [iso-8859-1] (original)
+++ trunk/reactos/base/shell/cmd/dirstack.c [iso-8859-1] Mon Mar 23 17:48:04 2009
@@ -165,7 +165,7 @@
return 0;
if (bChangePath)
- SetCurrentDirectory (newPath);
+ _tchdir(newPath);
return 0;
}
@@ -192,7 +192,7 @@
GetDirectoryStackTop (szPath);
PopDirectory ();
- SetCurrentDirectory (szPath);
+ _tchdir(szPath);
return 0;
}