Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: a7ea752e59bbbf69c6d8a72ee6a8b7a0f77cca7c
      
https://github.com/tianocore/edk2/commit/a7ea752e59bbbf69c6d8a72ee6a8b7a0f77cca7c
  Author: Tapan Shah <tapands...@hpe.com>
  Date:   2016-10-12 (Wed, 12 Oct 2016)

  Changed paths:
    M ShellPkg/Library/UefiShellLevel2CommandsLib/Cd.c

  Log Message:
  -----------
  ShellPkg:?cd \? command fails to go back to the root directory of a file 
system

Allows cd command to go back to the root directory when 'cd \' executed in 
system.

This change prevents last PathRemoveLastItem() call which truncates '\' from 
'fs0:\'
in desired root path which is required to set CWD to the root directory.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapands...@hpe.com>
Reviewed-by: Jaben Carsey <jaben.car...@intel.com>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to