]> git.proxmox.com Git - mirror_edk2.git/commit - EdkNt32Pkg/Library/EdkGenericBdsLib/BdsMisc.c
Original BdsLibMatchDevicePaths() excludes end node when comparing 2 devices paths...
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 14 Dec 2006 05:23:10 +0000 (05:23 +0000)
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 14 Dec 2006 05:23:10 +0000 (05:23 +0000)
commit4ef4e1eab529c7d23100643705ee0df0b027f12c
tree7e72f1e6716b6319e6bb15f9b377a2bf83316e39
parent4ef346cd4e3761bc1e8e11166a3bf8859c88ae34
Original BdsLibMatchDevicePaths() excludes end node when comparing 2 devices paths. When a short device path is the part of a long device path, the function would mistakenly recognize them as same device paths.
So it should compare the entire device path, including the end node.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2099 6f19259b-4bc3-4df7-8a09-765794883524
EdkNt32Pkg/Library/EdkGenericBdsLib/BdsMisc.c