Revision: 16123
          http://sourceforge.net/p/edk2/code/16123
Author:   shenshushi
Date:     2014-09-17 08:41:31 +0000 (Wed, 17 Sep 2014)
Log Message:
-----------
ShellPkg: Do TrimSpace again after StdIn, StdOut, and StdErr are set up.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ni Ruiyu <[email protected]>
Signed-off-by: Qiu Shumin <[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       2014-09-17 07:58:31 UTC 
(rev 16122)
+++ trunk/edk2/ShellPkg/Application/Shell/Shell.c       2014-09-17 08:41:31 UTC 
(rev 16123)
@@ -2392,6 +2392,7 @@
   // Now run the command, script, or application
   //
   if (!EFI_ERROR(Status)) {
+    TrimSpaces(&CmdLine);
     Status = RunCommandOrFile(
               Type,
               CmdLine,


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to