diff options
author | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-04-01 22:16:01 +0000 |
---|---|---|
committer | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-04-01 22:16:01 +0000 |
commit | 06d8f5d5b157df2f412033dfe7c33524d9fc11df (patch) | |
tree | d07943090c0d81871ff73644506036357ed6f1e2 /edk2/ShellPkg/Application | |
parent | c607901b39d28942c83cbe279cc61c3e47b0e252 (diff) |
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@11499 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'edk2/ShellPkg/Application')
-rw-r--r-- | edk2/ShellPkg/Application/Shell/FileHandleWrappers.c | 2 | ||||
-rw-r--r-- | edk2/ShellPkg/Application/Shell/ShellParametersProtocol.c | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/edk2/ShellPkg/Application/Shell/FileHandleWrappers.c b/edk2/ShellPkg/Application/Shell/FileHandleWrappers.c index 38fdb8d84..b2163bebb 100644 --- a/edk2/ShellPkg/Application/Shell/FileHandleWrappers.c +++ b/edk2/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/edk2/ShellPkg/Application/Shell/ShellParametersProtocol.c b/edk2/ShellPkg/Application/Shell/ShellParametersProtocol.c index 76935333d..238ccd968 100644 --- a/edk2/ShellPkg/Application/Shell/ShellParametersProtocol.c +++ b/edk2/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(
|