From ae724571beb0cff6edefe42942b7cdc7aa81ee94 Mon Sep 17 00:00:00 2001 From: jcarsey Date: Fri, 1 Apr 2011 22:16:01 +0000 Subject: Comment's added and fixed. Pointer's checked for NULL before access and after memory allocations. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11499 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Application/Shell/FileHandleWrappers.c | 2 +- ShellPkg/Application/Shell/ShellParametersProtocol.c | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'ShellPkg/Application/Shell') diff --git a/ShellPkg/Application/Shell/FileHandleWrappers.c b/ShellPkg/Application/Shell/FileHandleWrappers.c index 38fdb8d848..b2163bebb9 100644 --- a/ShellPkg/Application/Shell/FileHandleWrappers.c +++ b/ShellPkg/Application/Shell/FileHandleWrappers.c @@ -1547,7 +1547,7 @@ FileInterfaceFileGetInfo( /** Set information about a file - @param File Protocol instance pointer. + @param This Protocol instance pointer. @param InformationType Type of information in Buffer. @param BufferSize Size of buffer. @param Buffer The data to write. diff --git a/ShellPkg/Application/Shell/ShellParametersProtocol.c b/ShellPkg/Application/Shell/ShellParametersProtocol.c index 76935333d6..238ccd9681 100644 --- a/ShellPkg/Application/Shell/ShellParametersProtocol.c +++ b/ShellPkg/Application/Shell/ShellParametersProtocol.c @@ -415,6 +415,14 @@ CleanUpShellParametersProtocol ( return (Status); } +/** + Determin if a file name represents a unicode file. + + @param[in] FileName Pointer to the filename to open. + + @retval EFI_SUCCESS The file is a unicode file. + @return An error upon failure. +**/ EFI_STATUS EFIAPI IsUnicodeFile( -- cgit v1.2.3