]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Application/Shell/FileHandleWrappers.c
This refactors 3 functions out of ShellCommandLib and puts them into a new library...
[mirror_edk2.git] / ShellPkg / Application / Shell / FileHandleWrappers.c
index b2163bebb950cab8185bfe72f8cd7e8671807e5d..22e8c71d12b25162a9b2f2e0f6e0279659bbaa69 100644 (file)
@@ -249,7 +249,7 @@ FileInterfaceStdErrRead(
   File style interface for NUL file (Read).\r
   \r
   @param[in] This             Ignored.\r
-  @param[in,out] BufferSize   Ignored.\r
+  @param[in,out] BufferSize   Poiner to 0 upon return.\r
   @param[out] Buffer          Ignored.\r
   \r
   @retval EFI_SUCCESS Always.\r
@@ -262,6 +262,7 @@ FileInterfaceNulRead(
   OUT     VOID              *Buffer\r
   )\r
 {\r
+  *BufferSize = 0;\r
   return (EFI_SUCCESS);\r
 }\r
 \r
@@ -521,7 +522,7 @@ FileInterfaceStdInRead(
         }\r
         StrCat(TabStr, L"*");\r
         FoundFileList = NULL;\r
-//        TabStr = CleanPath(TabStr);\r
+//        TabStr = PathCleanUpDirectories(TabStr);\r
         Status  = ShellInfoObject.NewEfiShellProtocol->FindFiles(TabStr, &FoundFileList);\r
         for ( TempStr = CurrentString\r
             ; *TempStr == L' '\r