From a49f6a2f7e0d0141519c136905ce70038573ce40 Mon Sep 17 00:00:00 2001 From: jcarsey Date: Fri, 15 Apr 2011 18:20:40 +0000 Subject: fix for word wrapping. fix for SimpleTextInEx callbacks. remove an ASSERT. fix for -noconsolein parameter. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11544 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Application/Shell/FileHandleWrappers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ShellPkg/Application/Shell/FileHandleWrappers.c') diff --git a/ShellPkg/Application/Shell/FileHandleWrappers.c b/ShellPkg/Application/Shell/FileHandleWrappers.c index b2163bebb9..3cadc41e0b 100644 --- a/ShellPkg/Application/Shell/FileHandleWrappers.c +++ b/ShellPkg/Application/Shell/FileHandleWrappers.c @@ -249,7 +249,7 @@ FileInterfaceStdErrRead( File style interface for NUL file (Read). @param[in] This Ignored. - @param[in,out] BufferSize Ignored. + @param[in,out] BufferSize Poiner to 0 upon return. @param[out] Buffer Ignored. @retval EFI_SUCCESS Always. @@ -262,6 +262,7 @@ FileInterfaceNulRead( OUT VOID *Buffer ) { + *BufferSize = 0; return (EFI_SUCCESS); } -- cgit v1.2.3