Revision: 13943
          http://edk2.svn.sourceforge.net/edk2/?rev=13943&view=rev
Author:   jcarsey
Date:     2012-11-14 23:43:33 +0000 (Wed, 14 Nov 2012)
Log Message:
-----------
ShellPkg: Fix line responsible for deleting ?\226?\128?\156cwd?\226?\128?\157 
variable when exit shell.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <[email protected]>
Reviewed-by: Jaben Carsey <[email protected]>

Modified Paths:
--------------
    trunk/edk2/ShellPkg/Application/Shell/Shell.c

Modified: trunk/edk2/ShellPkg/Application/Shell/Shell.c
===================================================================
--- trunk/edk2/ShellPkg/Application/Shell/Shell.c       2012-11-14 06:30:39 UTC 
(rev 13942)
+++ trunk/edk2/ShellPkg/Application/Shell/Shell.c       2012-11-14 23:43:33 UTC 
(rev 13943)
@@ -441,7 +441,7 @@
   }
   if (ShellInfoObject.NewEfiShellProtocol != NULL){
     if (ShellInfoObject.NewEfiShellProtocol->IsRootShell()){
-      ShellInfoObject.NewEfiShellProtocol->SetEnv(L"cwd", L"", TRUE);
+      InternalEfiShellSetEnv(L"cwd", NULL, TRUE);
     }
     CleanUpShellProtocol(ShellInfoObject.NewEfiShellProtocol);
     DEBUG_CODE(ShellInfoObject.NewEfiShellProtocol = NULL;);

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to