Re: [edk2] [PATCH v2] MdePkg/UefiFileHandleLib: Fix the Root directory determination.

2018-06-13 Thread Ni, Ruiyu
Thanks/Ray > -Original Message- > From: edk2-devel On Behalf Of Marvin > Häuser > Sent: Thursday, May 17, 2018 8:42 PM > To: edk2-devel@lists.01.org > Cc: Kinney, Michael D ; Gao, Liming > > Subject: [edk2] [PATCH v2] MdePkg/UefiFileHandleLib: Fix the Root d

Re: [edk2] [PATCH v2] MdePkg/UefiFileHandleLib: Fix the Root directory determination.

2018-06-13 Thread Marvin Häuser
sday, May 17, 2018 2:42 PM > To: edk2-devel@lists.01.org > Cc: michael.d.kin...@intel.com; liming@intel.com > Subject: [edk2] [PATCH v2] MdePkg/UefiFileHandleLib: Fix the Root directory > determination. > > The current implementation of the FileHandleGetFileName() function >

[edk2] [PATCH v2] MdePkg/UefiFileHandleLib: Fix the Root directory determination.

2018-05-17 Thread Marvin Häuser
The current implementation of the FileHandleGetFileName() function assumes that the Root directory always has the FileName '\0'. However, the only requirement the UEFI specification defines is that a prepended '\\' must be supported to access files and folders relative to the Root directory. This