[ros-diffs] [jmorlan] 40185: - In cmd's PUSHD and POPD commands, change directory using _tchdir.

jmorlan at svn.reactos.org jmorlan at svn.reactos.org
Mon Mar 23 15:48:05 CET 2009


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?rev=40185&r1=40184&r2=40185&view=diff
==============================================================================
--- 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;
 }



More information about the Ros-diffs mailing list