Dandan:
  Please use LongFilePath() to convert file path. Then, MAX_PATH limitation can 
be removed. 

Thanks
Liming
>-----Original Message-----
>From: Bi, Dandan
>Sent: Monday, June 05, 2017 2:26 PM
>To: edk2-devel@lists.01.org
>Cc: Dong, Eric <eric.d...@intel.com>; Gao, Liming <liming....@intel.com>;
>Daniel D�az <daniel.d...@linaro.org>
>Subject: [patch] BaseTools/VfrCompile: Update MAX_PATH to a bigger one
>
>REF: https://bugzilla.tianocore.org/show_bug.cgi?id=579
>
>Cc: Eric Dong <eric.d...@intel.com>
>Cc: Liming Gao <liming....@intel.com>
>Cc: Daniel Díaz <daniel.d...@linaro.org>
>Contributed-under: TianoCore Contribution Agreement 1.0
>Signed-off-by: Dandan Bi <dandan...@intel.com>
>---
> BaseTools/Source/C/VfrCompile/EfiVfr.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/BaseTools/Source/C/VfrCompile/EfiVfr.h
>b/BaseTools/Source/C/VfrCompile/EfiVfr.h
>index d187902..af03f28 100644
>--- a/BaseTools/Source/C/VfrCompile/EfiVfr.h
>+++ b/BaseTools/Source/C/VfrCompile/EfiVfr.h
>@@ -1,9 +1,9 @@
> /** @file
> Defines and prototypes for the UEFI VFR compiler internal use.
>
>-Copyright (c) 2004 - 2014, 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
> http://opensource.org/licenses/bsd-license.php
>
>@@ -17,11 +17,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY
>KIND, EITHER EXPRESS OR IMPLIED.
>
> #include "Common/UefiBaseTypes.h"
> #include "Common/UefiInternalFormRepresentation.h"
> #include "Common/MdeModuleHii.h"
>
>-#define MAX_PATH                 255
>+#define MAX_PATH                 500
> #define MAX_VFR_LINE_LEN         4096
>
> #define EFI_IFR_MAX_LENGTH       0xFF
> #define MAX_IFR_EXPRESSION_DEPTH 0x9
>
>--
>1.9.5.msysgit.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to