From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ma1-aaemail-dr-lapp01.apple.com (ma1-aaemail-dr-lapp01.apple.com [17.171.2.60]) by mx.groups.io with SMTP id smtpd.web10.512.1603992249251968972 for ; Thu, 29 Oct 2020 10:24:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@apple.com header.s=20180706 header.b=jMj+tCho; spf=pass (domain: apple.com, ip: 17.171.2.60, mailfrom: afish@apple.com) Received: from pps.filterd (ma1-aaemail-dr-lapp01.apple.com [127.0.0.1]) by ma1-aaemail-dr-lapp01.apple.com (8.16.0.42/8.16.0.42) with SMTP id 09THNj6k028601 for ; Thu, 29 Oct 2020 10:24:08 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=from : content-type : mime-version : subject : message-id : date : to; s=20180706; bh=AjTBJs4Uqp995OkCMIT8tG/pdml1vBhBIup8BNoYxiI=; b=jMj+tChohWZzyZ8ALhnepCDZTW1SH+R6X2dBO2AE8oPJcQuV6lwZsnLCRiCwH/7mOFUC SdJGEBsg8syzSO5aaUB7+f61ohhYcfR4jR22aQ0s4tualC2Byg+CBR/7Ab3s6IaeSkXK tT3J9a4RZkuoplS1h4QgFRK2etnBSnOM4+A3pbUIoxPJMo+UDSv/uYi31kAW4vVXzXni +hZMPOEVCknjRewQ0T6k2pLy40VT+jvVycYv+poSRVZwaijDF4sdwNnjMrWFLaW9Br9h XDIQamMNb7F7tFgzBpK6dGQmZ7g8GnuD3Hc4+xhk46P6G9UcywxFf99CVHlAvhdupvpS 2Q== Received: from rn-mailsvcp-mta-lapp02.rno.apple.com (rn-mailsvcp-mta-lapp02.rno.apple.com [10.225.203.150]) by ma1-aaemail-dr-lapp01.apple.com with ESMTP id 34cjx6dhqs-9 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 29 Oct 2020 10:24:08 -0700 Received: from rn-mailsvcp-mmp-lapp04.rno.apple.com (rn-mailsvcp-mmp-lapp04.rno.apple.com [17.179.253.17]) by rn-mailsvcp-mta-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.6.20200729 64bit (built Jul 29 2020)) with ESMTPS id <0QIZ00ZIC4C6X1P0@rn-mailsvcp-mta-lapp02.rno.apple.com> for devel@edk2.groups.io; Thu, 29 Oct 2020 10:24:06 -0700 (PDT) Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp04.rno.apple.com by rn-mailsvcp-mmp-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.6.20200729 64bit (built Jul 29 2020)) id <0QIZ00K0047DF500@rn-mailsvcp-mmp-lapp04.rno.apple.com> for devel@edk2.groups.io; Thu, 29 Oct 2020 10:24:06 -0700 (PDT) X-Va-A: X-Va-T-CD: 5975dd1eaec8696b379f33739df9e0a8 X-Va-E-CD: 1150f1b69b6ba34088724752e995ca11 X-Va-R-CD: 9fe6654fb7de35882fd1293d27e6519c X-Va-CD: 0 X-Va-ID: 41b3e589-f51a-49e6-aa5c-e37c10812402 X-V-A: X-V-T-CD: 5975dd1eaec8696b379f33739df9e0a8 X-V-E-CD: 1150f1b69b6ba34088724752e995ca11 X-V-R-CD: 9fe6654fb7de35882fd1293d27e6519c X-V-CD: 0 X-V-ID: 662f72e6-18cb-49e8-8897-834bea882729 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312,18.0.737 definitions=2020-10-29_11:2020-10-29,2020-10-29 signatures=0 Received: from [17.235.20.45] (unknown [17.235.20.45]) by rn-mailsvcp-mmp-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.6.20200729 64bit (built Jul 29 2020)) with ESMTPSA id <0QIZ00TPF4C42600@rn-mailsvcp-mmp-lapp04.rno.apple.com> for devel@edk2.groups.io; Thu, 29 Oct 2020 10:24:05 -0700 (PDT) From: "Andrew Fish" MIME-version: 1.0 (Mac OS X Mail 14.0 \(3654.20.0.2.1\)) Subject: Why is MAX_LONG_FILE_PATH 500 vs. PATH_MAX? Message-id: <86A23533-E614-4B71-BA87-6BFF8338E0FA@apple.com> Date: Thu, 29 Oct 2020 10:24:03 -0700 To: edk2-devel-groups-io X-Mailer: Apple Mail (2.3654.20.0.2.1) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312,18.0.737 definitions=2020-10-29_11:2020-10-29,2020-10-29 signatures=0 Content-type: multipart/alternative; boundary="Apple-Mail=_F0ACF4A6-C446-4BBF-B123-079820AEA087" --Apple-Mail=_F0ACF4A6-C446-4BBF-B123-079820AEA087 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Does anyone know why MAX_LONG_FILE_PATH [1] is hard coded to 500 vs. = using the systems PATH_MAX? On Linux I think PATH_MAX is 4KiB and on macOS it is 1KiB. [1] = https://github.com/tianocore/edk2/blob/master/BaseTools/Source/C/Common/Co= mmonLib.h#L17 = Thanks, Andrew Fish= --Apple-Mail=_F0ACF4A6-C446-4BBF-B123-079820AEA087 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
Does anyone know why MAX_LONG_FILE_PATH [1] is hard coded to 500 vs. using the systems PATH_MAX?

On Linux I think PATH_MAX is 4KiB and on macOS it is 1KiB.



Thanks,

Andrew Fish
--Apple-Mail=_F0ACF4A6-C446-4BBF-B123-079820AEA087--