audk/ShellPkg/Library/UefiShellLevel2CommandsLib
jcarsey 391206e775 ShellPkg: Update behavior for GetTime() errors.
Please find the attached patch that fixes the ShellPkg when gRT->GetTime() returns an error (eg: early UEFI platform bringup with a RTC controller that is not supported).
On some platforms, gRT->GetTime() might not return EFI_SUCCESS. The Shell must check the return status before to assume the returned time is valid.


Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <Olivier.Martin@arm.com>
Reviewed-by: Jaben Carsey <Jaben.Carsey@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14337 6f19259b-4bc3-4df7-8a09-765794883524
2013-05-09 16:18:58 +00:00
..
Attrib.c
Cd.c ShellPkg: add verification that a target directory exists when changing directory with drive identifier. 2013-02-13 22:22:16 +00:00
Cp.c ShellPkg: Fixed build error 'variable set but not used' 2013-05-07 17:57:58 +00:00
Load.c ShellPkg: Fixed build error 'variable set but not used' 2013-05-07 17:57:58 +00:00
Ls.c ShellPkg: fix 'ls' handling of empty drives where there is not even an "." or ".." directory. 2012-02-02 16:55:30 +00:00
Map.c ShellPkg: Fixed build error 'variable set but not used' 2013-05-07 17:57:58 +00:00
MkDir.c
Mv.c ShellPkg: Fixed build error 'variable set but not used' 2013-05-07 17:57:58 +00:00
Parse.c ShellPkg: print error when column index is out of range instead of ASSERT. 2012-01-02 21:17:20 +00:00
Reset.c ShellPkg: fix copyright date. 2012-01-05 20:46:16 +00:00
Rm.c ShellPkg: Fixed build error 'variable set but not used' 2013-05-07 17:57:58 +00:00
Set.c
TimeDate.c ShellPkg: Update behavior for GetTime() errors. 2013-05-09 16:18:58 +00:00
UefiShellLevel2CommandsLib.c Fix a code typo. 2011-10-18 01:47:53 +00:00
UefiShellLevel2CommandsLib.h Clean up the private GUID definition in module Level. 2011-09-21 01:56:00 +00:00
UefiShellLevel2CommandsLib.inf Clean up the private GUID definition in module Level. 2011-09-21 01:56:00 +00:00
UefiShellLevel2CommandsLib.uni ShellPkg: Fixes CP function to prevent copying of files if destination does not have adequate storage. 2013-03-12 20:56:36 +00:00
Vol.c check memory allocations for success. 2011-04-04 21:41:24 +00:00