public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Tian, Feng" <feng.tian@intel.com>
To: "Zeng, Star" <star.zeng@intel.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Gao, Liming" <liming.gao@intel.com>,
	"Ni, Ruiyu" <ruiyu.ni@intel.com>,
	"Tian, Feng" <feng.tian@intel.com>
Subject: Re: [PATCH 3/3] MdeModulePkg BmPerf: Handle "/" separator in debug path for GCC build
Date: Wed, 15 Mar 2017 05:52:15 +0000	[thread overview]
Message-ID: <7F1BAD85ADEA444D97065A60D2E97EE5699BA8BF@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1489557032-4064-4-git-send-email-star.zeng@intel.com>

Reviewed-by: Feng Tian <feng.tian@Intel.com>

Thanks
Feng

-----Original Message-----
From: Zeng, Star 
Sent: Wednesday, March 15, 2017 1:51 PM
To: edk2-devel@lists.01.org
Cc: Zeng, Star <star.zeng@intel.com>; Gao, Liming <liming.gao@intel.com>; Ni, Ruiyu <ruiyu.ni@intel.com>; Tian, Feng <feng.tian@intel.com>
Subject: [PATCH 3/3] MdeModulePkg BmPerf: Handle "/" separator in debug path for GCC build

Cc: Liming Gao <liming.gao@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
---
 MdeModulePkg/Library/UefiBootManagerLib/BmPerformance.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmPerformance.c b/MdeModulePkg/Library/UefiBootManagerLib/BmPerformance.c
index 0abd0194409c..4d4495b2a826 100644
--- a/MdeModulePkg/Library/UefiBootManagerLib/BmPerformance.c
+++ b/MdeModulePkg/Library/UefiBootManagerLib/BmPerformance.c
@@ -3,7 +3,7 @@
   performance, all the function will only include if the performance
   switch is set.
 
-Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR>
 This program and the accompanying materials  are licensed and made available under the terms and conditions of the BSD License  which accompanies this distribution.  The full text of the license may be found at @@ -49,7 +49,7 @@ BmGetShortPdbFileName (
       ;
 
     for (Index = 0; PdbFileName[Index] != 0; Index++) {
-      if (PdbFileName[Index] == '\\') {
+      if ((PdbFileName[Index] == '\\') || (PdbFileName[Index] == '/')) 
+ {
         StartIndex = Index + 1;
       }
 
--
2.7.0.windows.1



  reply	other threads:[~2017-03-15  5:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-15  5:50 [PATCH 0/3] DP: Handle "/" separator in debug path for GCC Star Zeng
2017-03-15  5:50 ` [PATCH 1/3] PerformancePkg Dp_App: Handle "/" separator in debug path for GCC build Star Zeng
2017-03-15  5:50 ` [PATCH 2/3] ShellPkg UefiDpLib: " Star Zeng
2017-03-15  9:22   ` Ni, Ruiyu
2017-03-15  5:50 ` [PATCH 3/3] MdeModulePkg BmPerf: " Star Zeng
2017-03-15  5:52   ` Tian, Feng [this message]
2017-03-15  9:22     ` Ni, Ruiyu
2017-03-15  6:53 ` [PATCH 0/3] DP: Handle "/" separator in debug path for GCC Gao, Liming

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7F1BAD85ADEA444D97065A60D2E97EE5699BA8BF@SHSMSX101.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox