From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E71B1208F7A18 for ; Wed, 2 Aug 2017 20:13:17 -0700 (PDT) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Aug 2017 20:15:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,314,1498546800"; d="scan'208";a="135400323" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 02 Aug 2017 20:15:28 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 2 Aug 2017 20:15:28 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 2 Aug 2017 20:15:28 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.146]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.134]) with mapi id 14.03.0319.002; Thu, 3 Aug 2017 11:15:24 +0800 From: "Dong, Eric" To: "Bi, Dandan" , "edk2-devel@lists.01.org" CC: "Gao, Liming" , Daniel D?az Thread-Topic: [patch] BaseTools/VfrCompile: Remove the MAX_PATH limitation Thread-Index: AQHTCpsgKEJcm5TARUGo74fNFXOGoaJx+EQQ Date: Thu, 3 Aug 2017 03:15:23 +0000 Message-ID: References: <1501573889-162300-1-git-send-email-dandan.bi@intel.com> In-Reply-To: <1501573889-162300-1-git-send-email-dandan.bi@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [patch] BaseTools/VfrCompile: Remove the MAX_PATH limitation X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Aug 2017 03:13:18 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 UmV2aWV3ZWQtYnk6IEVyaWMgRG9uZyA8ZXJpYy5kb25nQGludGVsLmNvbT4NCg0KLS0tLS1Pcmln aW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IEJpLCBEYW5kYW4gDQpTZW50OiBUdWVzZGF5LCBBdWd1 c3QgMSwgMjAxNyAzOjUxIFBNDQpUbzogZWRrMi1kZXZlbEBsaXN0cy4wMS5vcmcNCkNjOiBEb25n LCBFcmljIDxlcmljLmRvbmdAaW50ZWwuY29tPjsgR2FvLCBMaW1pbmcgPGxpbWluZy5nYW9AaW50 ZWwuY29tPjsgRGFuaWVsIETvv71heiA8ZGFuaWVsLmRpYXpAbGluYXJvLm9yZz4NClN1YmplY3Q6 IFtwYXRjaF0gQmFzZVRvb2xzL1ZmckNvbXBpbGU6IFJlbW92ZSB0aGUgTUFYX1BBVEggbGltaXRh dGlvbg0KDQpSRUY6IGh0dHBzOi8vYnVnemlsbGEudGlhbm9jb3JlLm9yZy9zaG93X2J1Zy5jZ2k/ aWQ9NTc5DQoNClNpbmNlIHdlIGhhdmUgYWxyZWFkeSB1c2VkIExvbmdGaWxlUGF0aCgpIHRvIGNv bnZlcnQgZmlsZSBwYXRoLCBzbyB3ZSBjYW4gcmVtb3ZlIHRoZSBNQVhfUEFUSCBsaW1pdGF0aW9u Lg0KDQpDYzogRXJpYyBEb25nIDxlcmljLmRvbmdAaW50ZWwuY29tPg0KQ2M6IExpbWluZyBHYW8g PGxpbWluZy5nYW9AaW50ZWwuY29tPg0KQ2M6IERhbmllbCBEIGF6IDxkYW5pZW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aGUgYWNjb21wYW55 aW5nIG1hdGVyaWFscyAgICAgICAgICAgICAgICAgICAgICAgICAgDQogYXJlIGxpY2Vuc2VkIGFu ZCBtYWRlIGF2YWlsYWJsZSB1bmRlciB0aGUgdGVybXMgYW5kIGNvbmRpdGlvbnMgb2YgdGhlIEJT RCBMaWNlbnNlICAgICAgICAgDQogd2hpY2ggYWNjb21wYW5pZXMgdGhpcyBkaXN0cmlidXRpb24u ICBUaGUgZnVsbCB0ZXh0IG9mIHRoZSBsaWNlbnNlIG1heSBiZSBmb3VuZCBhdCAgICAgICAgDQog aHR0cDovL29wZW5zb3VyY2Uub3JnL2xpY2Vuc2VzL2JzZC1saWNlbnNlLnBocCAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgDQogICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgDQpAQCAtMTcsMTEgKzE3LDEwIEBAIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBS RVBSRVNFTlRBVElPTlMgT0YgQU5ZIEtJTkQsIEVJVEhFUiBFWFBSRVNTIE9SIElNUExJRUQuDQog DQogI2luY2x1ZGUgIkNvbW1vbi9VZWZpQmFzZVR5cGVzLmgiDQogI2luY2x1ZGUgIkNvbW1vbi9V ZWZpSW50ZXJuYWxGb3JtUmVwcmVzZW50YXRpb24uaCINCiAjaW5jbHVkZSAiQ29tbW9uL01kZU1v ZHVsZUhpaS5oIg0KIA0KLSNkZWZpbmUgTUFYX1BBVEggICAgICAgICAgICAgICAgIDI1NQ0KICNk ZWZpbmUgTUFYX1ZGUl9MSU5FX0xFTiAgICAgICAgIDQwOTYNCiANCiAjZGVmaW5lIEVGSV9JRlJf TUFYX0xFTkdUSCAgICAgICAweEZGDQogI2RlZmluZSBNQVhfSUZSX0VYUFJFU1NJT05fREVQVEgg MHg5DQogDQpkaWZmIC0tZ2l0IGEvQmFz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